Borrar filtros
Borrar filtros

matlab gui error handles.slider

3 visualizaciones (últimos 30 días)
Margareta Drozdikova
Margareta Drozdikova el 27 de En. de 2018
Respondida: Rik el 27 de En. de 2018
Hi, I have this error, can you please tell me, how to solve it? thanks Undefined operator '+' for input arguments of type 'matlab.ui.control.UIControl'.
Error in exam_01>slider_Callback (line 206) xlim([handles.slider handles.slider+handles.dif])

Respuesta aceptada

Rik
Rik el 27 de En. de 2018
The information is in the error: handles.slider is an object, not a value. If you want to use the value property, use get(handles.slider,'Value') or handles.slider.Value.

Más respuestas (0)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by