Simulink crashes very often during normal work
21 views (last 30 days)
Show older comments
I am using Simulink to design a digital system for an FPGA. After fixed-point conversion, I intend to use HDL Coder for generating VHDL code. However, at this point, I am unable to continue with the development as Simulink crashes at least evert five minutes. The model I am currently working on has a lot of interconnects and a relatively complex structure with several nested submodules. We also use variant submodules and library modules.
The following occurs:
- Simulink functions as expected. I am writing annotations in the model.
- Simulink freezes. After a few seconds, the window is greyed out and the window is marked as "Not Responding"
- The MATLAB GUI is still responsive, so I type in the 'ver' command. The Command window provides no feedback.
- I try to close MATLAB and Simulink, but nothing happens.
- I end the task using Windows Task Manager. (Matlab is using 2261 MB of memory)
- I open MATLAB again with no issues.
At this point, I do not know how to proceed. Is there for example a crash report that can help me out?
Output from 'ver' command:
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.11.0.1769968 (R2021b)
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 19041)
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.11 (R2021b)
Simulink Version 10.4 (R2021b)
Communications Toolbox Version 7.6 (R2021b)
DSP System Toolbox Version 9.13 (R2021b)
Fixed-Point Designer Version 7.3 (R2021b)
HDL Coder Version 3.19 (R2021b)
MATLAB Coder Version 5.3 (R2021b)
Signal Processing Toolbox Version 8.7 (R2021b)
5 Comments
Answers (1)
Fangjun Jiang
on 22 Nov 2023
Edited: Fangjun Jiang
on 22 Nov 2023
It seems like a Simulink issue due to software bug or system/installation. You can further check to see if the same problem happens on any other simple/example model.
One thing to try is to update to the latest update patch. For R2021b, the latest patch is "Update 7". You can do that by clicking the bell icon at the top right corner of the MATLAB window. After that, you will see output of "ver" similar as below.
MATLAB Version: 9.11.0.2207237 (R2021b) Update 6
0 Comments
See Also
Categories
Find more on Fixed-Point Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!