フィルターのクリア

The name 'string' is not an accessible property for an instance of class 'root'.

8 ビュー (過去 30 日間)
Jonathan Wilson
Jonathan Wilson 2013 年 6 月 5 日
I have been given the error:
KTKQJ_graphs Error using hg.root/set The name 'string' is not an accessible property for an instance of class 'root'.
Error in KTKQJ_graphs>KTKQJ_graphs_OpeningFcn (line 46) set(handles.Speed_range, 'string', {D_knotts})
Error in gui_mainfcn (line 221) feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in KTKQJ_graphs (line 21) gui_mainfcn(gui_State, varargin{:});
I am not sure why i am getting 'root' problems and the code is duplicated for different variables. Please help

回答 (1 件)

Jan
Jan 2013 年 6 月 5 日
編集済み: Jan 2013 年 6 月 5 日
The handle of the root object is 0. For any reason the value of handles.Speed_range is zero also. I assume this should be the handle of an uicontrol but it is not. Soo look in your code where "Speed_range" is defined to find out more details.

カテゴリ

Help Center および File ExchangeEvents についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by