Opened 8 years ago
#4380 new enhancement
Improve result file reading
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | normal | Milestone: | Future |
Component: | Run-time | Version: | |
Keywords: | Cc: |
Description
Too long ago I submitted OMCompiler#1002 to enhance reading of .mat files. The intent was to improve the following:
- Allow for reading files > 2Gb
- Fixing the calculation of the matrix length from the matrix header information (there are truncation issues due to variable types)
- Support reading files in which the results are incomplete due to a canceled solve or a solve in progress
These improvements are helpful for large or long running simulations. In particular, you currently can't restart a simulation from a file >2Gb. Also, it enables viewing results in progress within OMEdit.
I have not had time to fix the issues with this and won't for the foreseeable future, so I am opening it up to anyone who is willing to finish it and take credit. I will close my pull request once someone grabs the code.
I got everything working for Windows, but found some issues in the Linux build after the initial pull request. I never tested macOS. There have also since recent changes to the read_matlab4.c file that need to be merged.