Getting error in using code num2cell
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nader Virk
am 10 Apr. 2023
Kommentiert: Star Strider
am 11 Apr. 2023
Hi
I am using MATLAB 2022b, reinstalled on a new computer. Howver, the code that previously is not wokring and issue is that when it reaches the command of num2cell, it gives me this error ""Incorrect number or types of inputs or outputs for function 'num2cell.
I tried to use MATLAB example available here: https://uk.mathworks.com/help/matlab/ref/num2cell.html?searchHighlight=num2cell&s_tid=srchtitle_num2cell_1s
I am not able run any of the example on the page and get the same error. I appreciate the help!
Best regards
Nader
3 Kommentare
Akzeptierte Antwort
Star Strider
am 10 Apr. 2023
Run this from a script or your Command Window —
which num2cell -all
It should return something similar to this. If it returns anything else (specifically anything not in the ‘MATLAB/toolbox’ subdirectory), that could point to the problem.
.
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects 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!