Simulink "Invalid cross-device link (18)" - error

16 views (last 30 days)
Hi all,
When I'm trying to save a simulink .slx file, I get the following error
Error writing file "</user_path/file_name.slx>": Failed to close the package: "Invalid cross-device link (18)".
I'm currently using R2022b on Ubuntu 22.04.

Accepted Answer

Walter Roberson
Walter Roberson on 30 Mar 2023
You need to update to the newest R2022b. This is a known problem that was fixed in one of the updates.
  1 Comment
Dennis
Dennis on 31 Mar 2023
Thanks, I did that but I got an error saying that I don't have access to the root folder. I was able to figure it out by using the following command on the terminal
sudo chown -R $LOGNAME: /path/to/installation/directory
Afterwards, I updated R2022b to version 5 and now I can save the files from Simulink !

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!