slider y lim multiply
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Embedded Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!