Load Class Diagram Error (conversion from double to cell is not possible)

조회 수: 5 (최근 30일)
Micah Fry
Micah Fry 2021년 10월 19일
답변: Zinea 2024년 3월 7일
I am trying to open a Class Diagram I saved in the Class Diagram Viewer previously, and it fails to open the file. I get the following:
>> h = matlab.diagram.ClassViewer;
>> h.load('class_diagram_file.mldatx')
Conversion to double from cell is not possible.
Error in classdiagram.app.core.ClassDiagramApp/loadFromFactoryImpl
Error in classdiagram.app.core.ClassDiagramApp>@(ops)self.loadFromFactoryImpl(factory)
Error in classdiagram.app.core.ClassDiagramApp/loadFromFactory
Error in classdiagram.app.io.IOMgr/loadFrom
Error in classdiagram.app.core.ClassDiagramApp/loadDiagram
Error in matlab.diagram.ClassViewer/load
When this happens, the ClassViewer dialog box appears, but is empty. I cannot recover the file I previously saved.
  댓글 수: 1
Maximilian Tontsch
Maximilian Tontsch 2023년 6월 13일
Having the same issue. I cannot save any class diagram and then reopen it. Upon opening the .mldatx file, I always get the error:
Error using open (line 143) Conversion from double to cell is not possible.

댓글을 달려면 로그인하십시오.

답변 (1개)

Zinea
Zinea 2024년 3월 7일
Hi Micah,
It appears you are facing difficulties loading a previously saved `.mldatx` file in the Class Diagram Viewer, and it seems this issue is present in MATLAB version R2021b. Upon further investigation, it appears that upgrading to the latest version, MATLAB R2023b, resolves this issue and allows the diagram to load smoothly.
Hope this helps!
Best,
Zinea

카테고리

Help CenterFile Exchange에서 Argument Definitions에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by