Model Analyzer: view program code does not work (nothing happens)

16 Ansichten (letzte 30 Tage)
Christopher Sarkizi
Christopher Sarkizi am 29 Jul. 2022
I have issues with the followig error when running Model Analyzer:
Severity Message
error Unrecognized function or variable 'dosesForFit'.
So I am trying to check the code by right clicking on the Program name in Project browser and clicking on "View Program Code ..." but nothing happens.
Ideas?

Antworten (1)

Christopher Sarkizi
Christopher Sarkizi am 29 Jul. 2022
Update:
Closing and re-opening the project causes this error to pop up:
Project Load Messages
Message
error Unable to load project, the client encountered an exception : TypeError: Cannot set property 'label' of undefined
  6 Kommentare
Arthur Goldsipe
Arthur Goldsipe am 3 Aug. 2022
Bearbeitet: Arthur Goldsipe am 3 Aug. 2022
Hi Chris,
You can import model components from Excel spreadsheets. Here's a link to instructions on how to do that for variants and doses. But other components work similarly.
Unfortunately, there's not currently any way to import initial values or bounds into the table. I'll add that to our list of enhancement requests.
Yes, you can export your parameter estimates to a variant. (Right-click on the results and select "Create Variant from Estimated Parameter Values...") Then, you can either commit that variant to the model to make those your new default initial conditions for simulations. Or you can include that variant in specific simulations if you don't want those to be your new defaults. You can also confirm that variants are applied as expected to a particular simulation program by inspecting your model's intiial conditions in the Model tab of the browser. (See here for an example.)
-Arthur
Christopher Sarkizi
Christopher Sarkizi am 4 Aug. 2022
Perfect this was really helpful thanks.

Melden Sie sich an, um zu kommentieren.

Communitys

Weitere Antworten in  SimBiology Community

Kategorien

Mehr zu Import Data finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by