Can you use openfig to open a variable

2 views (last 30 days)
I want to use openfig to open a gui but if filerequest = help.fig open the help file if filerequest = submit.fig open submit.fig.
Is that possible?

Accepted Answer

Walter Roberson
Walter Roberson on 26 Mar 2013
filerequest = 'help.fig';
openfig(filerequest)
  5 Comments
Walter Roberson
Walter Roberson on 2 Apr 2013
No, your routine for pushbutton1_Callback would need
global DEknown
added before it uses openfig()
Marc
Marc on 3 Apr 2013
Thanks very much it's working now

Sign in to comment.

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!