Trying to export .slx and its associated files to allow me to work from a faster PC.

조회 수: 2(최근 30일)
Mark Sears
Mark Sears 2021년 7월 22일
댓글: Mark Sears 2021년 7월 25일
Hello,
I am currently working from my personal computer, with a .slx file and associated .step files saved on its hard drive.
I have tried to .zip/copy/save as to an external hard drive to transfer it to a more powerful PC that I have access to.
As soon as I load up the .slx it comes with numerous errors and won't run, stating that the file path is missing. I have changed the current working folder and can see the files it is looking for but it won't work.
Any way of exporting that I am missing?
kind regards,
Mark

답변(1개)

Yifeng Tang
Yifeng Tang 2021년 7월 23일
In each of the file solid blocks, the path to the .step file is usually absolute. That full path can be different when you move to a different computer. You'll need to manually change them, most likely to relative path like "./???.STEP', so it remains valid if you share the model with someone else or move to another computer.
Another place to check is in Model Explorer (Ctrl+H), look for where it loads the .m file that defines all the block parameters. It may be using the full path, too. Change it as well if that's the case.

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by