Filter löschen
Filter löschen

Parent GUI generates N copies of child GUI

1 Ansicht (letzte 30 Tage)
Asli Memmet
Asli Memmet am 8 Dez. 2018
Kommentiert: Jan am 9 Dez. 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 Kommentar
Jan
Jan am 9 Dez. 2018
With a loop? This sounds trivial, so I assume that I do not understand, what you are asking for.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by