I want to access the GUI control from the call back function. how can I do this. I got the below code from Matlab help but it gives an error when executed. How can I access the slider from the call back function.
The error message is indicating that you are trying to access a field of an object that is not a structure. In your case,hObject is not a structure and so you can't accessValue from it. Which version of MATLAB are you using?
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
0 Comments
Sign in to comment.