Model Analyzer in 2022b is not saving
Afficher commentaires plus anciens
Hello Community,
My Model Analyzer for my a Simbiology 2022b file is not saving. When I create a new simulation, and exit from the analyzer while still keeping my Model Builder program open, the simulation file under the documents tab does not reappear. If I save the Model Analyzer, it will try to save the project as a sbio project file which I am unable to open later. I have only recently had this issue, as I was able to genearte a number of simulations and model fit programs under analyzer before, but something happen to prevent me from making additional changes.
Any suggestions would be greatly appreciated
Thanks,
4 commentaires
Priya Moorthy
le 19 Mai 2023
Brett,
I’m very sorry to hear that you are having trouble saving and loading your projects. In order to help resolve this issue, could I first ask you some clarifying questions to ensure I understand the issue correctly?
1. When you say that you “… exit from the analyzer while still keeping my Model Builder program open”, are you closing the entire Model Analyzer app window or pressing the close button on the toolstrip? If you mean that you have closed the entire Model Analyzer app, then could you clarify what you mean by: “the simulation file under the documents tab does not reappear”? Could you share the exact sequence of closing/opening projects and apps?
2. Are you starting with a new, empty project or opening a previously saved project? If opening a saved project, did you have any warnings when loading it? Could you share which release of MATLAB you last saved it in and what were the original contents of the project before you added the simulation program?
3. “I am unable to open later”- can you share whether loading the project gives you an error, results in a project with no contents or an the app that hangs?
4. Does this behavior happen consistently or sporadically?
5. After you save or load and get unexpected behavior, can you share the output when you type “[msgstr,errID] = lasterr” at the MATLAB command line?
6. What is the output when you type “ver” at the MATLAB command line?
7. If you are able to share the erroring project with us, that might help us figure out the issue more quickly.
Again, I'm very sorry that you are encountering this frustrating problem. Thanks for taking the to reply with more information so we can try to resolve the issue.
Best,
Priya
Brett Fleisher
le 22 Mai 2023
Modifié(e) : Brett Fleisher
le 22 Mai 2023
Priya Moorthy
le 23 Mai 2023
Hi, Brett,
Thanks for the detailed information. It sounds like you are running into a bug with loading certain projects with fit programs. This bug was introduced in R2022b General Release and has been fixed in R2022b Update 1. https://www.mathworks.com/support/bugreports/2827329.
You can confirm that this is the root cause by trying to open the project from the Model Analyzer instead of first opening the Model Builder. In this case, you should see an error message: "Unable to load project, the client encountered an exception : TypeError: Cannot set properties of undefined (setting 'ID')".
We recommend that you update your R2022b MATLAB installation to Update 1 or later to access the latest bug fixes. In R2022b Update 1 and later, you should be able to open your project in 22b.
Unfortunately, if you cannot update your installation, you will not be able to open this project in R2022b GR. I can offer one possible workaround to avoid encountering this bug with other projects. The bug is encountered when loading fit programs that have unchecked responses in the DataMap section. Before saving your project, modify your fit programs by deleting unused responses from the DataMap section instead of unchecking them:
Once again, I am very sorry for the difficulties you have encountered with saving and loading your project. If you are still blocked after updating or trying the workaround, please reach out and we will be happy to help further.
Priya
Brett Fleisher
le 30 Mai 2023
Réponses (0)
Communautés
Plus de réponses dans SimBiology Community
Catégories
En savoir plus sur Import Data dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!