How do I resolve the error "Variable 'smiData' has been deleted from model workspace." when trying to open older Simscape models?

6 ビュー (過去 30 日間)
For my work, I take Solidworks Assemblies and import them into Simscape Multibody to run simulations. When I’m done with the models, I upload them to my company’s server.
 
Occasionally, I need to pull the model from the server to run the simulations again. Several times, when I open a model that I pulled from the server, an error will occur. Many of the joints will be highlighted red
An error:
"Variable 'smiData' has been deleted from model workspace."
is generated.
How do I resolve this?

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 1 月 28 日 0:00
編集済み: MathWorks Support Team 2025 年 2 月 14 日 8:47
Whenever you import a CAD file, a data file is created that has the variable "smidata". By default, a data file is created when importing. This parameter is defined by the user. The user will need to upload this file and carry it along with the model file.
To learn more about the "ImportMode" section of the "smimport" function, please run the following command in the MATLAB R2020a command window to access the release-specific documentation:
>> web(fullfile(docroot, 'physmod/sm/ref/smimport.html'))
Please follow the link below to search for the required information regarding the current release:

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by