slider y lim multiply
Show older comments
Hi, I need help. I have a slider for moving up and down in my axes. It works, BUT I have a button for multiply the signal (2x,3x,4x) and in these case I am setting the max and minimum value of slider, and after each push of multiply button I want to set value of slider to minimum value, but it doesn't work I have the error:
Warning: 'slider' control cannot have a 'Value' outside of 'Min'-'Max' range
Control will not be rendered until all of its parameter values are valid
set(handles.slider,'Min',handles.minimum)
set(handles.slider,'Max',handles.maximum+(handles.c_channel-1)*256)
set(handles.slider,'Value',handles.minimum)
Can anybody help me with this problem, thanks
Accepted Answer
More Answers (0)
Categories
Find more on Embedded Coder 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!