Problems in running functions
2 次查看(过去 30 天)
显示 更早的评论
Hi
Dont know what the problem is yesterday I couldnt save the functions in Matlab and now not able to run them...
3 个评论
Steven Lord
2019-9-24
What happens when you try to save a function in MATLAB? If you receive an error (red text) and/or a warning (orange text) show us the full and exact text of those messages. The exact text may tell us the cause of the problem you're experiencing and/or suggest ways to resolve it.
Once you're able to save a function, what happens when you try to run that function? Again, if you receive an error or warning message show us the full and exact text.
Also tell us or show us exactly how you're trying to run that function. If you type the name of the function (with input arguments?) in the MATLAB Command Window, show us what you typed. If you ran it via the Run button in the Editor, tell us that. If you're trying to run it some other way, show us what you're doing if possible and tell us what you're doing if it's not possible to show.
I'll give you a simple function to try to run. Run this using your usual procedure.
function helloWorld
disp('Hello world!')
end
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!