Undefined function or method 'plus' for input arguments of type 'cell'.
Mostrar comentarios más antiguos
hi... someone please help me... i'm stuck with this code:
% --- Executes on selection change in FirstPopup function
FirstPopup_Callback(hObject, eventdata, handles)
idMode = get (hObject, 'Value');
if idMode == 1
A = set(handles.FirstPopup,'value');
FirstValue=A +(-11);
else if idMode == 2
A= set (handles.FirstPopup, 'Value');
FirstValue= A+(7);
end
end
i try to use "+" to add value i've got from FirstPopup. but there's an error:
" Undefined function or method 'plus' for input arguments of type 'cell'."
now, what should i do..?
1 comentario
Alex
el 19 de En. de 2012
Could you also tell us the line where the error is?
Respuestas (2)
Categorías
Más información sobre Programming en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!