Getting error in using code num2cell
11 次查看(过去 30 天)
显示 更早的评论
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
采纳的回答
Star Strider
2023-4-10
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!