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 Kommentare

Hassaan
Hassaan am 18 Mär. 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
Shashwat am 18 Mär. 2024
No, the connection to the DB and the instance is in MATLAB itself. It seems to be some issue with file size as when I try to save data for a smaller time period the .mat files are saved without any issues

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Produkte

Version

R2022b

Gefragt:

am 18 Mär. 2024

Kommentiert:

am 18 Mär. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by