Why is my GUI program producing an error when i press the acquisition button?
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
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
0 个评论
回答(1 个)
Jan
2018-9-10
The error message is clear:
There is no QString property on the UIControl class.
Remove the "Q":
measurements=str2num(get(handles.display_Measurements,'QString'));
^
0 个评论
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!