Why does MATLAB crash when interacting with Simulink models on 32-bit Windows?

I want to know why MATLAB in a 32-bit Windows platform crashes/freezes in following situations:
  • Making simple Simulink models
  • Saving Simulink models
  • Simulating a Simulink model (memory allocation error)

 Accepted Answer

You may encounter memory errors if you are running MATLAB on a 32-bit Windows installation. 64-bit Windows is recommended for the best performance and stability, and it is required for all MATLAB versions after R2015b.
Memory information can be retrieved using the "memory" MATLAB function. Please refer to the following documentation page for more details:
If the output of the above command indicates that the  "Maximum possible array" is less than 100MB, it is highly likely that you will encounter issues, like MATLAB freezing or crashing.
If you are unable to use a 64-bit version of Windows, you may be able to reduce memory-related issues by closing other programs that may run concurrently with MATLAB.

More Answers (0)

Categories

Products

Release

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!