Trying to export .slx and its associated files to allow me to work from a faster PC.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuestas (1)
Yifeng Tang
el 23 de Jul. de 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.
Ver también
Categorías
Más información sobre Applications en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!