MATLAB's maximum name length in GUI doesn't allow gui to update even after writing drawnow.

3 views (last 30 days)
I have made a GUI named test_gui in which I have a push button named testoutput to plot a figure when I push this button I get this Warning and my GUI doesn't updates the figure every time in a loop even after writing drawnow. The only warning I get is this and the program ends.
Warning: 'hobject_eventdata_test_gui__testoutput_callback__hobject_eventdata_guidata_hobject'
exceeds MATLAB's maximum name length of 63 characters and has been truncated to
'hobject_eventdata_test_gui__testoutput_callback__hobject_eventd'.
> In fileio\private\issubfield at 49
In fileio\private\warning_once>fieldnameFromStack at 194
In fileio\private\warning_once at 123
In ft_read_header at 1168
In read_buffer at 31
In Test_GUI>TestOutput_Callback at 172
In gui_mainfcn at 95
In Test_GUI at 42
In @(hObject,eventdata)Test_GUI('TestOutput_Callback',hObject,eventdata,guidata(hObject))
  1 Comment
Adam
Adam on 11 Mar 2015
Name your function something shorter. I don't see in your code where a function with that name is occurring but it seems a rather absurd function name anyway!

Sign in to comment.

Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!