Products & Services Solutions Academia Support User Community Company

Learn more about SimBiology   

sbiogetnamedstate - Get state and time data from simulation results

Syntax

[t,x] = sbiogetnamedstate(simDataObj)
[t,x] = sbiogetnamedstate(simDataObj,'Name')
[t,x,Name] = sbiogetnamedstate(...)

Description

sbiogetnamedstate returns state and time data from simulation results. [t,x] = sbiogetnamedstate(simDataObj) returns the time and state data associated with the simulation results (simDataObj) and returns to t and x respectively. simDataObj is a SimData object returned by the sbiosimulate function.

[t,x] = sbiogetnamedstate(simDataObj,'Name') returns the state data associated with the name Name from the SimData object (smDataObj), and returns it to x. Name can be a cell array names. If a name, Name, does not exist, you see a warning.

[t,x,Name] = sbiogetnamedstate(...) returns the names associated with each column of x to Name.

See Also

sbiosimulate

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS