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

1 view (last 30 days)
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,

Answers (1)

Yifeng Tang
Yifeng Tang on 23 Jul 2021
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.




Community Treasure Hunt

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

Start Hunting!