uislider - In a MATLAB GUI, how does one implement a continuously varying slider from a GUIDE created .m file? -


I am trying to create a GUI with a plot and a slider. The slider should be described as continuously and output. I have a problem with this explanation that the uicontrol object is programmatically created, on the contrary, I want to know that in the last three instances, to complete the same thing done according to the program What can be added to a GUI file that is created. The code is down, and I have marked the (wrong) code that is provided by some of the above examples. Thanks a lot for any help! This slider function sets P1_slider_Callback (hObject, eventdata, handle) (handle, dragon, 'string', num2str (get (hObject, 'value'), 3)) PlottheData_Callback ( HOBject, EventData, Handle)% "PlotHeadata" is a button that creates the data slider based on the value of P1_slider%, and I think that here "p1_slider_CreateFcn" (hObject, eventdata, handle) needs to be assembled (HOBJECT, 'BackgroundRoller'), (0, 'Default UITTACKBACK MANDROLLER')) (HOBJECT, 'BackgroundRoll', [9.9.9.9]); % BEGIN wrong code! Please help here! JScrollBar = findjobj (hObject); JScrollBar.AdjustmentValueChangedCallback = @myCbFcn; HhSlider = Handheld (HOBJ); HProp = findprop (hhSlider, 'value'); % A schema.prop object hListener = handle.listener (hhSlider, hProp, 'PropertyPostSet', @ myCbFcn); Setappdata (hhSlider, 'sliderListener', hListener); % It is important - there are rows between

% BEGIN and end where I get the problem I get the error message

  ??? The undefined function or method for the input argument of type 'double' is 'findcos' == & gt; Error in first & gt; 204 jScrollBar = findjobj (hObject) on P1_slider_CreateFcn;  


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -