Borrar filtros
Borrar filtros

Parent GUI generates N copies of child GUI

1 visualización (últimos 30 días)
Asli Memmet
Asli Memmet el 8 de Dic. de 2018
Comentada: Jan el 9 de Dic. de 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 comentario
Jan
Jan el 9 de Dic. de 2018
With a loop? This sounds trivial, so I assume that I do not understand, what you are asking for.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by