You are not logged in.

#1 2022-10-13 21:13:51

AdamJ3nsen_
Member
Registered: 2020-10-08
Posts: 38

Simulink can't save file: "invalid cross device link" [SOLVED]

Hello, I had to install Matlab for a univeristy course (and I've already had to do the usual thing where I deleted some conflicting local libraries to get it to work at all, as explained in the wiki), but when I open Simulink and try to save a file to my home directory I get the following error:

Error writing file "/home/user/untitled.slx":Failed to close the package:"Invalid cross-device link (18)"

Looking up the error message online I only found something related to python 2.7 on stackoverflow.
Can anyone help me? Thank you in advance

Last edited by AdamJ3nsen_ (2022-10-13 23:01:15)

Offline

#2 2022-10-13 22:47:06

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Offline

#3 2022-10-13 22:50:47

AdamJ3nsen_
Member
Registered: 2020-10-08
Posts: 38

Re: Simulink can't save file: "invalid cross device link" [SOLVED]

I'm so dumb, I didn't think about checking there first.
Thanks for your help and sorry for wasting your time

Offline

#4 2022-10-13 22:59:22

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Simulink can't save file: "invalid cross device link" [SOLVED]

If your issue is solved, please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

#5 2022-10-26 05:36:21

Liu Teng
Member
Registered: 2022-10-26
Posts: 2

Re: Simulink can't save file: "invalid cross device link" [SOLVED]

I also have the problem.  The link below may explain this.
https://wiki.archlinux.org/title/Tmpfs

In section 4.1 Opening symlinks in tmpfs as root fails.
______________________________________________

In Ubuntu, matlab 2022b works normally. Using df command,  /tmp is not umount as tmpfs.
This is just my guess, not tested on archlinux.

Last edited by Liu Teng (2022-10-26 05:43:06)

Offline

Board footer

Powered by FluxBB