Error closing file for .mat file
Show older comments
Hi all, I’m trying to fetch the risk factor data from a database and then calculating scenarios on it. While trying to data, which is present as a struct I’m facing an error where it says Error ID: ‘MATLAB:save:errorClosingFile’. I tried changing the flag to ‘-v7.3’ (https://in.mathworks.com/matlabcentral/answers/18098-error-using-save-error-closing-file) but it takes a lot of space and time for the code to run. Is there any other way to fix this issue?
2 Comments
Hassaan
on 18 Mar 2024
@Shashwat Is the file/database instance open in some other editor/software?
-----------------------------------------------------------------------------------------------------------------------------------------------------
If you find the solution helpful and it resolves your issue, it would be greatly appreciated if you could accept the answer. Also, leaving an upvote and a comment are also wonderful ways to provide feedback.
It's important to note that the advice and code are based on limited information and meant for educational purposes. Users should verify and adapt the code to their specific needs, ensuring compatibility and adherence to ethical standards.
Professional Interests
- Technical Services and Consulting
- Embedded Systems | Firmware Developement | Simulations
- Electrical and Electronics Engineering
Feel free to contact me.
Shashwat
on 18 Mar 2024
Answers (0)
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!