Error in MatLab's own routine.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Gavin
am 19 Sep. 2024
Kommentiert: Steven Lord
am 23 Sep. 2024
How can I possibly fix this?
Warning: The following error was caught while executing 'onCleanup' class
destructor:
Brace indexing is not supported for variables of this type.
Error in cell2mat (line 36)
if isnumeric(c{1}) || ischar(c{1}) || islogical(c{1}) || isstruct(c{1})
Error in onCleanup/delete (line 25)
obj.task();
No error was generated in the App Designer window, just the main command window. No reference to my code. I don't use cells if I can help it and wouldn't convert one to a matrix.
Time to upgrade to 2024b?
Hmmm it doesn't replicate when I run my program again.
1 Kommentar
Jatin
am 19 Sep. 2024
Could you provide your code or the steps to reproduce the issue so that the community can come up with a solution.
Akzeptierte Antwort
Gavin
am 23 Sep. 2024
1 Kommentar
Steven Lord
am 23 Sep. 2024
Can you show us the call to the onCleanup function in your code? I'm guessing this error occurred when MATLAB was exiting a callback function, and if so please show us that onCleanup call (or those onCleanup calls) and what the classes and sizes were of the data used in the expressions used in the call(s).
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!