Clear Filters
Clear Filters

Variants in SimBiology debugger

5 views (last 30 days)
Is it possible to apply variants when running the SimBiology debugger?
Thank you,

Accepted Answer

Florian Augustin
Florian Augustin on 15 Nov 2022
Hi Abed,
Yes, you can specify configuration set, doses and variants when starting the debugger. This is currently undocumented, but below is a full description of possible input arguments and how to start the debugger.
% startSimBiologyDebugger Open Model Debugger for SimBiology.
% startSimBiologyDebugger(modelObj) starts the Model Debugger app to
% debug the SimBiology model object modelObj. The model active
% configset, active variants, and active doses are used. Active
% variant values supersede the corresponding model values. Active doses
% define additions that are made to species amounts or parameter
% values.
% startSimBiologyDebugger(modelObj, configSetObj) uses the SimBiology
% configuration set configSetObj for debugging. The input
% configSetObj is a scalar SimBiology.ConfigSet object.
% startSimBiologyDebugger(modelObj, variantObj) applies the
% variant object or vector of variant objects variantObjs to the model
% before debugging.
% startSimBiologyDebugger(modelObj, doseObjs) uses the dose object or
% vector of dose objects doseObjs during debugging.
% startSimBiologyDebugger(modelObj, configSetObj, doseOrVariantObjs)
% debugs modelObj using the configuration set configSetObj and variants
% or doses doseOrVariantObjs. Specify [] as the third argument when you
% want to explicitly exclude any variant objects from debugging.
% startSimBiologyDebugger(modelObj, configSetObj, variantObjs, doseObjs)
% debugs modelObj using the configuration set configSetObj, variants
% variantsObjs, and doses doseObjs.
% Example:
% % Create a SimBiology model from an SBML file.
% m = sbmlimport('lotka');
% % Open the Debugger app to troubleshoot the model.
% startSimBiologyDebugger(m);

More Answers (0)


More Answers in the  SimBiology Community

Community Treasure Hunt

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

Start Hunting!