Communication between various Matlab screens?
1 view (last 30 days)
Show older comments
Hi! I have several open matlabs on the same PC. Each makinga process, and I need that when one finished, this notifies the other. How could I make them communicate with each other?
0 Comments
Answers (1)
Walter Roberson
on 19 Dec 2015
You could use tcp or udp. Those are available from the instrument control toolbox or from the tcpudpip file contribution.
You could pick files that the various sessions would modify.
You could use the sharedmatrix file exchange contribution.
Some of these choices may require that the code actively check for input. Others may require that the code occasionally use drawnow to allow interrupts to be processed.
Note that code that is involved in computation with large matrices cannot be interrupted.
0 Comments
See Also
Categories
Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!