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
3 件のコメント
採用された回答
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!