フィルターのクリア

MATLAB WebApp Server - Class 'network' is an unknown object class

2 ビュー (過去 30 日間)
Antonios
Antonios 2023 年 6 月 28 日
回答済み: Steven Lord 2023 年 6 月 28 日
I just uploaded a .ctf file on a local MATLAB Web App Server, but I take the following error while I try to load a neural network:
Class 'network' is an unknown object class or does not have a valid 'loadobj' method. Object 'net' of this class has been converted to a structure.
Any idea? Thank you in advance!

採用された回答

Steven Lord
Steven Lord 2023 年 6 月 28 日
If you are attempting to compile code using MATLAB Compiler that calls load to load an object from a MAT-file and there is no indication in the code itself that MATLAB Compiler needs to package the code, the dependency analyzer may not be able to detect that it needs to include the definition of the class. In this case use one of the workarounds in the "Fixing Callback Problems: Missing Functions" section of this documentation page, as this workflow is described by the Tip in that section of that documentation page.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Web App Server についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by