Clear Filters
Clear Filters

Parent GUI generates N copies of child GUI

3 views (last 30 days)
Asli Memmet
Asli Memmet on 8 Dec 2018
Commented: Jan on 9 Dec 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 Comment
Jan
Jan on 9 Dec 2018
With a loop? This sounds trivial, so I assume that I do not understand, what you are asking for.

Sign in to comment.

Answers (0)

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!