Java exception occurred: com.mathwo​rks.toolbo​x.slprojec​t.Exceptio​ns.CorePro​jectExcept​ion: The archive file specified does not exist.

6 ビュー (過去 30 日間)
lorugant
lorugant 2019 年 2 月 7 日
回答済み: Yash 2025 年 2 月 16 日 14:10
Hello Everyone,
I am trying to run exported matlab fmu with my own testfile after following the following instructions in the link below:
So I am getting the follwing error. Can anyone please help me debug it?
fmistatus = Error; Test CS model Instance (logStatusError ): fmi2Instantiate: Error using fmuhelper
Java exception occurred:
com.mathworks.toolbox.slproject.Exceptions.CoreProjectException: The archive file specified does not exist.
at com.mathworks.toolbox.slproject.project.creation.ProjectCreatorFromZip.validateArchive(ProjectCreatorFromZip.java:56)
at com.mathworks.toolbox.slproject.project.creation.ProjectCreatorFromZip.validate(ProjectCreatorFromZip.java:88)
Thanks in advance!

回答 (1 件)

Yash
Yash 2025 年 2 月 16 日 14:10
The error seems to imply that the archive file directory from which the project is being created does not exist. Please ensure that the directory is on MATLAB Path.
Try clearing the cache and path using below commands:
rehash toolboxcache
rehash path

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by