simulink error loading simscape multibody file in another computer
9 ビュー (過去 30 日間)
古いコメントを表示
Edwin Alonso González Querubín
2021 年 12 月 24 日
回答済み: Edwin Alonso González Querubín
2022 年 3 月 7 日
I carried out the process of exporting a CAD model to matlab through the smimport command for simscape multibody, which generates several files, including one with the name '..._ DataFile.m'.When I go to open the generated simscape model on another computer, I get the error that it does not find the document '..._ DataFile.m', with the entire path of the first computer, which obviously does not match the current one. Is there any way to fix this error or update the new path of said document? . thanks for your help.
0 件のコメント
採用された回答
Steve Miller
2022 年 2 月 18 日
This can be fixed by going to the Model Workspace of the Simulink model and removing the path. As long as MATLAB can find the file anywhere on its path, the model will run.
Here is where you find the setting in R2021b
Here is the field where you make the adjustment.
--Steve
0 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Simscape Multibody についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!