Live Editor fails displaying myObject
Mostrar comentarios más antiguos
I have a handle class myClass which overloads disp, size, isempty and subsref.
An object myObject=myClass won't display in Live Editor.
I am getting the following error:
Warning: Error occured while executing the listener callback for event FLUSH_OUTPUTS defined for class matlab.internal.editor.OutputsManager: Conversion to logical from myClass is not possible.
I would note the myObject does display just fine in the Matlab console. It also displays well in Live Editor of older Matlab versions (2019). The error only occurs in Live Editor of 2020a/b.
any thoughts?
Respuestas (1)
krishan Gopal
el 8 de Dic. de 2021
0 votos
Sir, can you tell me how you resolve the issue
3 comentarios
Walter Roberson
el 8 de Dic. de 2021
@royk reprogrammed their size(), isempty(), isscalar(), and numel() methods to return logical values for isempty() and isscalar(), and numeric values for size() and numel()
royk
el 8 de Dic. de 2021
krishan Gopal
el 9 de Dic. de 2021
Sir thankyou for your answer. But i'm beginner still & not ble to identify how to excute this command. if possible can you please suggest me , how to do it
Categorías
Más información sobre Construct and Work with Object Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!