Run 3 screens at a time/parallel screen

조회 수: 4 (최근 30일)
Praneeti Mitra
Praneeti Mitra 2021년 6월 14일
댓글: Walter Roberson 2021년 6월 22일
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
Praneeti Mitra
Praneeti Mitra 2021년 6월 15일
Windows 10
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에서 Graphics Objects에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by