Getting error in using code num2cell
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nader Virk
el 10 de Abr. de 2023
Comentada: Star Strider
el 11 de Abr. de 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 comentarios
Respuesta aceptada
Star Strider
el 10 de Abr. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!