Error in script using copylink
12 ビュー (過去 30 日間)
古いコメントを表示
I have a matlab script that runs as a cron job on Linux. A few days ago, the script started failing. I traced it to the copylink statement, which copies a bunch of png files to a network share.
This is what I get when I run the statement from the command line:
>> copyfile( '*.png', dirFigsPing );
Error using copyfile
Invalid cross-device link
We had some network issues recently, but everything should be back to normal.
I have no problems copying the files using the commnand line of File Manager.
Any idea what the problem might be?
0 件のコメント
回答 (1 件)
Walter Roberson
2022 年 8 月 18 日
We had some network issues recently, but everything should be back to normal.
... but they are not back to normal. You need to unmount the source and destination filesystem and remount them.
3 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!