Live Editor fails displaying myObject
이전 댓글 표시
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?
답변 (1개)
krishan Gopal
2021년 12월 8일
0 개 추천
Sir, can you tell me how you resolve the issue
댓글 수: 3
Walter Roberson
2021년 12월 8일
@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
2021년 12월 8일
krishan Gopal
2021년 12월 9일
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
카테고리
도움말 센터 및 File Exchange에서 Construct and Work with Object Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!