Colin Phipps in MATLAB Answers
Last activity on 19 Oct 2016

Given a Simbioloogy 'model' I can access/get a specific compartment object if I know the numerical index, e.g. model.compartments(2) shows me the 2nd compartment. I can get/set properties from this indexing. Say this compartment is named 'turtle'. Can I get this compartment object from the Name, instead of by index? Something like model.compartments('turtle'), or model.compartments('Name'=='turtle'). although clearly these won't work.