Why is my GUI program producing an error when i press the acquisition button?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Error using matlab.ui.control.UIControl/get
There is no QString property on the UIControl class.
Error in Z_scan_Servo_motor2>botao_Iniciar_Callback (line 94) measurements=str2num(get(handles.display_Measurements,'QString'));
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in Z_scan_Servo_motor2 (line 42) gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)Z_scan_Servo_motor2('botao_Iniciar_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
Answers (1)
Jan
on 10 Sep 2018
The error message is clear:
There is no QString property on the UIControl class.
Remove the "Q":
measurements=str2num(get(handles.display_Measurements,'QString'));
^
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!