Effacer les filtres
Effacer les filtres

Parent GUI generates N copies of child GUI

1 vue (au cours des 30 derniers jours)
Asli Memmet
Asli Memmet le 8 Déc 2018
Commenté : Jan le 9 Déc 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 commentaire
Jan
Jan le 9 Déc 2018
With a loop? This sounds trivial, so I assume that I do not understand, what you are asking for.

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by