필터 지우기
필터 지우기

Error writing simulink file

조회 수: 11 (최근 30일)
Romain
Romain 2022년 9월 27일
답변: Aditya 2023년 8월 30일
While everything was working fine, since this morning I have an error when I try to save a simulink file:
Failed to close the package: "Lien Physique inter-périphérique invalide (18)".
I'm using matlab 2022a on Ubuntu 22.04.
One of my colleagues has the same error, but I haven't found anything on the internet.
  댓글 수: 2
Arnaud Leleve
Arnaud Leleve 2022년 12월 6일
Same issue also.
I can save in /tmp but not in my personal folder.
Julien TOURY
Julien TOURY 2023년 1월 17일
Same issue also with Matlab R2022b

댓글을 달려면 로그인하십시오.

답변 (1개)

Aditya
Aditya 2023년 8월 30일
Hey Romain
I understand that you were facing the a problem while saving a file.
The error message you encountered, "Failed to close the package: 'Lien Physique inter-périphérique invalide (18)'," indicates an issue with closing the package file in Simulink. This error is not specific to MATLAB 2022a or Ubuntu 22.04, as it seems to be a more general error related to file handling.
Here are a few suggestions to help resolve this issue:
1. Check file permissions: Ensure that you have the necessary write permissions for the directory where you are trying to save the Simulink file. Make sure that you have the appropriate permissions to create, modify, and delete files in that location.
2. Check for file conflicts: Make sure that the Simulink file you are trying to save is not open or being accessed by any other process. If the file is open in another MATLAB session or any other application, close it before attempting to save again.
3. Restart MATLAB: Try restarting MATLAB and then open the Simulink file again. This can help resolve any temporary issues or conflicts that may be causing the error.
4. Check disk space: Verify that you have enough free disk space on the drive where you are saving the Simulink file. Insufficient disk space can cause errors when trying to save files.
5. Update MATLAB: Ensure that you have the latest updates and patches for MATLAB installed. Updating to the latest version may resolve any known issues related to file handling.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by