MATLAB crash during matrix multiplication in Matlab Function

81 Ansichten (letzte 30 Tage)
Kadir
Kadir am 19 Feb. 2026 um 17:25
Bearbeitet: dpb am 20 Feb. 2026 um 19:32
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?

Antworten (1)

Steven Lord
Steven Lord am 20 Feb. 2026 um 5:07
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 Kommentare
Kadir
Kadir am 20 Feb. 2026 um 19:03
I searched it via command window and and explorer both. I checked the temp folder for files containing "matlab_crash" and "java.log" in their names. Actually, there were so many subfolders but none of them were matlab crash log.
dpb
dpb am 20 Feb. 2026 um 19:25
Bearbeitet: dpb am 20 Feb. 2026 um 19:32
Roger...just checking because as written the prefix is a text string to be matched.
I'd agree it would then appear a crash dump wasn't created in this instance.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by