Problem with Saving Matlab Simbio file; Error message states: invalid value for datacache argument
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I recently updated my Matlab version from 2022 to 2024b. I opened a sbproj. file that was orginally created from the 2022 version. I tried to save some edits I made in model builder and got a pop up error message that states:
"Error occured while saving project. Invalid value for dataCache argument. Value must be one of these types : struct or char"
In my matlab command window, I got the following messages:
Error in SimBiology.web.projecthandler.saveproject
Error using SimBiology.internal.Project/constructProgramResultsInfo
Invalid value for 'dataCache' argument. Value must be one of these types: 'struct' or 'char'.
Error in SimBiology.internal.Project/set.ProgramResultsInfo
Error in SimBiology.web.projecthandler.saveproject_newCodePath
Error in SimBiology.web.projecthandler.saveproject
Error using SimBiology.internal.Project/constructProgramResultsInfo
Invalid value for 'dataCache' argument. Value must be one of these types: 'struct' or 'char'.
Error in SimBiology.internal.Project/set.ProgramResultsInfo
Error in SimBiology.web.projecthandler.saveproject_newCodePath
Error in SimBiology.web.projecthandler.saveproject
Error using SimBiology.internal.Project/constructProgramResultsInfo
Invalid value for 'dataCache' argument. Value must be one of these types: 'struct' or 'char'.
Error in SimBiology.internal.Project/set.ProgramResultsInfo
Error in SimBiology.web.projecthandler.saveproject_newCodePath
Error in SimBiology.web.projecthandler.saveproject
0 Commenti
Risposte (2)
Priya Moorthy
il 8 Mag 2025
Hi, Ebehiremen,
I am sorry that you have encountered this bug while saving your project. This sounds like a bug we have seen when saving projects containing custom programs run in MATLAB versions before R2024a Update 6. The issue should be resolved if you open the project in the Model Analyzer in R2024b, re-run the custom program and re-save the project.
Please reach out with any further questions or concerns.
Priya
Priya Moorthy
il 8 Mag 2025
Hi, Ebehiremen,
The Model Analyzer has a Browser in the left panel that lists the project contents, including the programs and their types.

Hope this helps.
Priya
4 Commenti
Priya Moorthy
il 12 Mag 2025
Ebehiremen,
Could you open a Technical Support case? We can work with you further to debug this issue.
In the meanwhile, can you share this additional information so I can try to reproduce the bug you are describing?
1) What types of programs you have?
2) Do have only LastRun folders or saved program results folders as well?
3) Are any of your LastRun folders empty because of a failed program run? If so, which kind of program?
Priya
Vedere anche
Categorie
Scopri di più su Historical Contests in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
