Azzera filtri
Azzera filtri

Error while saving Simulink

53 visualizzazioni (ultimi 30 giorni)
Paxton Edwards
Paxton Edwards il 12 Nov 2023
Risposto: atharva il 13 Nov 2023
I'm having a problem teying to save my work after altering a downloaded document, I have tried saving it both by overwrting the original download and renaming, both ways I have an error occur:
When I save it with a new name this error message shows up:
(file location):File not found. check file name and try again
When i save it as an overwrite this error shows up:
(file location)Permission Denied
I am Saving it in a new folder where the downloaded document is also in, any help would be appreiciated

Risposte (1)

atharva
atharva il 13 Nov 2023
Hey Paxton,
I understand that you are encountering an error when trying to save a downloaded document that you have modified. It seems like you're encountering two different issues depending on whether you're trying to save the file with a new name or overwrite the existing file. Let's address each one:
Issue 1: "File not found. Check file name and try again.":
1. Check File Name and Location: Double-check the file name and make sure there are no special characters or spaces that might be causing issues.Ensure you are saving the file in the correct location.
2. File Locking: Make sure that the file is not open or being used by another program. If the file is currently open in MATLAB or Simulink, close it before attempting to save again.
3. File Format Compatibility: Ensure that you are saving the file in a compatible format. Simulink models are typically saved with a '.slx' extension.
Issue 2: "Permission Denied."
1. User Permissions: Make sure you have the necessary permissions to write to the folder where you are trying to save the file. Check the folder's properties and adjust the permissions if needed.
2. Administrator Privileges: Run MATLAB or Simulink with administrator privileges. Right-click on the MATLAB/Simulink shortcut and choose "Run as administrator." This ensures that you have the necessary rights to save files in protected locations.
3. Antivirus or Security Software: Sometimes, security software can prevent file saving. Temporarily disable your antivirus or security software and see if the problem persists. If it resolves the issue, you may need to add MATLAB/Simulink to the list of trusted applications.
4. File Locking: As mentioned before, make sure the file is not open in another program. If it is, close the file in the other program and try saving it again.
5. Disk Space: Check if there is sufficient disk space on the drive where you are trying to save the file.
I hope this helps!

Categorie

Scopri di più su Downloads in Help Center e File Exchange

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by