Open multiple Matlab instances passing values
2 views (last 30 days)
Show older comments
Hi there,
I want to open, say, 20 Matlab instances by running one .m file.
How do I pass changing values to a newly opened instance? I'll try to give a very simple example in order to demonstrate the functionality I'm looking for.
Let's assume every new instance runs a function a_plus_b(b). It doesn't have to return values, because it will write them somewhere.
The content of function a_plus_b(b) is just:
a=1; c = a + b;
b changes for every instance that opens the function a_plus_b(b). How do I pass the changing value for b to every new instance opening the function?
Thanks in advance for any hint, Simon
0 Comments
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!