How can i use the static box in one .m to another using set(handles)?
Show older comments
A gui was created and named as A.m
A.fig have static box and axes
A.fig can open another .fig file named as new.fig. Inside this new.fig is to import files. After importing i want to close the new.fig and set the A.m static box with a string of "1234" and the set axes will visible.
set(handles.star,'string','1234');
set(handles.axes1,'visible',on);
I added those code above in new.m file. It give error of
Reference to non-existent field 'start'.
Reference to non-existent field 'axes1'.
Do anyone can help me? How am i suppose to do to enable the static box and axes can be called in another .m file?
Accepted Answer
More Answers (0)
Categories
Find more on Creating, Deleting, and Querying Graphics Objects 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!