Cell array output from function file
4 次查看(过去 30 天)
显示 更早的评论
Is there I can output a cell array from a function file into the MATLAB workspace? I am attaching the code for reference. The SOL array is cell type which is output from the function file but it does not appear in my workspace.
0 个评论
回答(1 个)
Mehmed Saad
2020-4-15
编辑:Mehmed Saad
2020-4-15
That is because you are running the Function directly which will give you only 1 output
Instead of runing directly, call your function from another code or by command prompt as follow
[IU, SOL] = MMM1D;
Now see you workspace
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!