Model diagram in the Simbiology freeze and disappear
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jesse Chao
am 27 Nov. 2020
Kommentiert: Jeremy Huard
am 25 Jan. 2022
Dear MatLab,
I am building a PBPK model in Simbiology. The model is quite complex. Whenever I add a new compartment or specie into the model diagram, it froze for a few minutes. Somehow my model diagram never shows up again... How can I solve this problem? Is it a problem of insufficient RAM or CPU power? How can I let my matlab assess more RAM or CPU power than usual?
Link: https://drive.google.com/file/d/1epB8FlTthFvdmblmAmvmohybDsy1mmVn/view?usp=sharing
The link is a video showed my screen record. The first project I opened is the problematic model that has no model diagram. The second is the confirmation that the other project works okay.
7 Kommentare
Massimo Lai
am 16 Apr. 2021
I've just had a similar problem. I tried to drag a new reaction block within a compartment, the window froze, I decided to save the changes and reload, but the model diagram completely vanished when I reloaded.
Other models in the same project file are unaffected.
The culprit model is quite compact, 3 compartments, twenty or so species, twenty or so reactions. I've been running much larger ones for years on previous versions.
Akzeptierte Antwort
Jeremy Huard
am 20 Apr. 2021
Bearbeitet: Jeremy Huard
am 21 Apr. 2021
(edited: added a more detailed description of the issue)
Dear users,
We were able to reproduce the issue you reported:
- Dragging a model component from the palette can make the diagram appear to freeze. We think low memory conditions aggravated or causes the problem.
- If the user closes the project in this state without saving, the .sbproj file can be loaded including the diagram information. However, all changes made after the last save will be lost.
- If the user hits save in the ‘frozen’ state before the diagram is fully updated, the .sbproj file will be corrupt. However, the backup file with the .bak extension will contain the version prior to the saved, corrupt version. If you are in this case, please make a copy of this file, remove the .bak extension and load it into the Model Builder to recover the last saved version of your diagram.
- If the user tries to load the corrupt .sbproj file, a grey screen will appear in the place of the diagram. If the user hits save again, then the .bak file will be corrupt as well and the customized diagram layout will be lost permanently. Only the diagram information seems to be affected though. So, if you are in this case, you can recover the model information without your customized layout (namely with the default diagram) using the following steps:
- Load the project in Model Builder
- Export the model without the diagram to the MATLAB workspace
- Remove the model without the diagram from the SimBiology Model Builder
- Import the model back into the SimBiology Model Builder from the MATLAB workspace. The model will come in with the default layout.
We will release a fix in a coming update.
Sorry for the inconvenience this issue may have caused. We hope the information above will minimize the recovery efforts.
Best regards,
Jérémy
3 Kommentare
Sameed Ahmed
am 25 Jan. 2022
My situation was the last case. It worked, thanks!!!
I must say that I am disappointed in how fragile/clunky Simbiology is. In addition to this problem, I've had other similar problems where some simple task/operation would cause a problem in Simbiology (freezing or otherwise). Usually restarting MATLAB fixes the problem.
Jeremy Huard
am 25 Jan. 2022
Hi Sameed,
sorry to read this. This problem was fixed in an update for R2020b, R2021a and is fixed in the general release of R2021b.
Can you tell me which version you are currently running?
Also, do you typically install updates within a release? These contain bug fixes only and can be installed easily from within MATLAB.
Concerning issues you might encounter with SimBiology, I strongly encourage you to contact our technical support and describe any step that could help reproduce the issue. These informations and details about the machine you are using will help our development team identify and fix the problem.
Thanks,
Jérémy
Weitere Antworten (0)
Communitys
Weitere Antworten in SimBiology Community
Siehe auch
Kategorien
Mehr zu Scan Parameter Ranges finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!