Azzera filtri
Azzera filtri

Parent GUI generates N copies of child GUI

1 visualizzazione (ultimi 30 giorni)
Asli Memmet
Asli Memmet il 8 Dic 2018
Commentato: Jan il 9 Dic 2018
I have a program that takes number of breakpoints(N) and for each breakpoint request the type of signal to be drawn for the current segment
Example
The signal is defined from -1 to 0 as a DC signal and from 0 to 1 as
ramp and from 1 to 2 as cosine the user will enter that the number of break
points =2 and the positions at t=0 and t=1
My question
I want the parent GUI (signals.fig) to generate (N+1 : number of segments) copies of (DrawInfo.fig) where each(DRAWINFO.fig) requests the user input for the current segment ( in the above example 3 segments : -1 -> 0 -> 1 -> 2) then it closes and opens another(DrawInfo.fig) for the next segment and so on.
How can I do that?
  1 Commento
Jan
Jan il 9 Dic 2018
With a loop? This sounds trivial, so I assume that I do not understand, what you are asking for.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by