Borrar filtros
Borrar filtros

GUIDE: findobj() results in handle to deleted Line

1 visualización (últimos 30 días)
Hans Sunaryanto
Hans Sunaryanto el 26 de Ag. de 2019
Comentada: Rik el 26 de Ag. de 2019
Hi All,
I'm trying to extract line information from two different plots in GUIDE. My approach is to plot the first -> save it into base workspace -> switch axes -> plot the second -> save it into base workspace
Once this is done, I then tried to check if this works using the following function:
a = findobj(handles.axes1, 'Type', 'Line')
b = findobj(handles.axes2, 'Type', 'Line')
b does give a result, however a would give the following error:
'handle to deleted Line'
Any idea for any workaround?
Thanks!

Respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by