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

2 visualizzazioni (ultimi 30 giorni)
sindhura c
sindhura c il 7 Ott 2018
Commentato: Rik il 10 Ott 2018
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.

Risposte (1)

Rik
Rik il 7 Ott 2018
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 Commento
Rik
Rik il 10 Ott 2018
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.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by