How to run all codes in single .m file??

4 次查看(过去 30 天)
sindhura c
sindhura c 2018-10-7
评论: Rik 2018-10-10
suppose i have three different problems to be executed in matlab, and i want them to be in single .m file. How to do that? I want to see all the output images or data at a one time click.

回答(1 个)

Rik
Rik 2018-10-7
You can either have a function at the top that runs internal functions, or you can just put all the code in a single script or function.
  1 个评论
Rik
Rik 2018-10-10
Did this suggestion solve your problem? If so, please consider marking it as accepted answer. It will make it easier for other people with the same question to find an answer. If this didn't solve your question, please comment with what problems you are still having.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by