Run 3 screens at a time/parallel screen

2 次查看(过去 30 天)
How to run three screens with the same GUI at a same time in 3 different computers with the same code?
I have a code which plays and forms a GUI and now I want that same GUI exact to be run on the three screens at the same time together with the same code used. How to modify my present code so it happens they way I want?
  5 个评论
Jan
Jan 2021-6-16
I still do not understand, what the problem is. What does this mean: "And all of them will have a singleinput which should run exactly same in all three"?
Does displaying the contents of the main screen on 3 monitors solve the problem? Windows, MacOS and Linux can do this, if you connect 3 monitors to the computer. There is not need to run anything in parallel.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2021-6-15
编辑:Walter Roberson 2021-6-15
  9 个评论
Praneeti Mitra
Praneeti Mitra 2021-6-20
编辑:Praneeti Mitra 2021-6-20
okay, I got your point.
How to do this:
I want to run the simulation three times.
Simaltaneously on three screens and each simulation I should be able to control separately.
And I want to run this with a single instance of MATLAB
If I want to stop the control from one display while operating other one. still, How to do this whole thing. How to make a code which runs three times in three different windows with the same GUI by using same MATLAB instance.
Walter Roberson
Walter Roberson 2021-6-22
Do? You? Need? All? Three? To? Be? Actively? Computing? At? The? Same? Time?
This is a different question than being able to control the three independently.
If you do need all three to be actively computing at the same time, then you must use the Parallel Computing Toolbox. Do you have that toolbox?
I am not going to spend the time to write up solutions to cover all of the possibilities: you need to be more specific about what you need.
The simulations: do you give them inputs or commands, and they run a small number of seconds and then finish that step and go back to waiting for inputs? Or do they have a bit of computation to do (say) every 1 minute? Or is it something like you have three guided Deep Learning going on at the same time and so you give instructions to one simulation and it goes away and computes for extended periods, occasionally displaying graphics, and the person monitoring might react to the graphics by interrupting the computation, or by changing a slider and expecting that the simulation will start using the new value as soon as feasible?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by