matlab just quitting mid-function
2 views (last 30 days)
Show older comments
Hi All,
I am having a problem where matlab is quitting unexpectedly mid-function.
The function processes 32-channel audio data. The audio is 12 seconds long (I have tried this with a shorter 5s sample too) and it gets through about 1.1 seconds worth before the program just quits.
It doesn't give any error message, or open a dialog box or anything, it just quits. There is also no crash dump.
I am running matlab 2020a on mac catalina.
I read somewhere that it might be a java problem?? But I have just installed java and it's the same.
Any help much appreciated! Many thanks in advance!
3 Comments
Steven Lord
on 20 May 2020
Without the code it's going to be difficult to determine the cause of MATLAB exiting.
Are you perhaps calling a MEX-file in your computation process? If so that would probably be the first place I'd investigate, to determine if it's trying to access memory if it shouldn't ("walking off the end of the array" for example.)
Answers (0)
See Also
Categories
Find more on Audio I/O and Waveform Generation 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!