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

  


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