MATLAB crash during matrix multiplication in Matlab Function
Afficher commentaires plus anciens
Hi everyone,I am experiencing an issue with a MATLAB Function block in Simulink (Version 2023b). When I want to do a standard matrix multiplication Simulink crashes without providing any error message or diagnostic log. For example, the following line triggers the crash:
SampleMultiple=ones(3,3)*ones(3,200)
But when I try to do it in Simulink 2017b and 2021b versions, it works properly. Also, when I decrease the size of the second matrix to [3x10], it works in 2023b as well. Has anyone encountered this? How can I handle this problem?
1 commentaire
dpb
le 19 Fév 2026 à 20:05
Have you checked for and installed any updates for R2023b?
Réponses (1)
Steven Lord
le 20 Fév 2026 à 5:07
0 votes
Can you confirm that you've looked in the locations given in this Answers post and cannot find any crash log files created at the time that Simulink crashed? If you can, please send those log files to Technical Support for investigation. The log file should contain instructions on how to send the files to Support.
4 commentaires
Kadir
le 20 Fév 2026 à 5:37
That's less than a straightforward page; it seems a convoluted set of locations are possible.
In partcular, the instruction to do dir() on the following
(fullfile(tempdir,'prefix*'))
doesn't look to me like it would find files of the given name unless MATLAB creates a 'prefix' folder under the temp directory.
I'd do a global search for the 'matlab_crash*.*' from the local %temp% folder...
Kadir
le 20 Fév 2026 à 19:03
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!