Skip to content

Dev Notes: Monitors

Erik A. Roberts edited this page Jul 19, 2018 · 4 revisions
  • monitors with equation, ie no right-hand side (eg monitor fn1 vs monitor m1 = fn1)
    • in dev as of 7/19/18: if function name monitor, is replaced with fn expression in dsParseModelEquations
    • in master as of 7/19/18: left blank in model structure through to dsWriteDynasimSolver
      • these so far must be a 1) spike monitor or a 2) function name monitor
        • set on line 624 isempty(monitor_expression{i}) && isfield(model.functions,monitor_names{i})
        • will insert function definition from model struct and trim off any args.