Run different program's in MaTlab through refernce in the main program

Hi, i have a folder with couple of different programs, and until now i ran them separately every time i wantet tou use them. now i want to unite them in one main program and to run them through there, with contorl over couple of varibale through the main(each program with different varibale).
there is an option to link all the program to the main and to run every one of the program in saprte? only through the main?

回答(1 个)

Of course you can simply create a main function and call the other functions from there. This cannot be done automagically, because you have to define the parameters individually, according to your description. Therefore I'm not sure, what the actual problem is and suggest, that you simply try it. If you get a specific problem then, post the existing code and explain, what is not working as wanted.

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by