Thursday, 5 December 2013

How to call one GUI into other GUI in MATLAB?


Calling of one GUI into other is very important job when we design some critical software based applications. 
1. Create one main GUI window. It should contain two push buttons one for continuous signal and other for Discrete signal as shown in following figure.





2. When we click on Continuous tab then it should open one more GUI window and that window contains axes for various continuous plots and process button as shown in following figure.


3. When we click on discrete tab then it should open one more GUI window and that window contains axes for various discrete plots and process button as shown in following figure.



Steps for calling one GUI into other:
We have three GUIs
1. Main GUI window: Suppose this GUI window having name main.m
2. For Continuous: Suppose this GUI window having name conti.m
3. For Discrete: Suppose this GUI window having name disc.m
4. Under ‘Continuous Signal’ tab in main.m just mention name of the Continuous GUI i.e. conti. as shown in following figure


5. Under ‘Discrete Signal’ tab in main.m just mention name of the Discrete GUI i.e. disc. as shown in following figure


 





No comments:

Post a Comment