| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → SimBiology |
| Contents | Index |
| Learn more about SimBiology |
Note sbiogetnamedstate produces a warning and will be removed in a future version. Use selectbyname instead. |
[t,x]
= sbiogetnamedstate(simDataObj)
[t,x]
= sbiogetnamedstate(simDataObj,'Name')
[t,x,Name]
= sbiogetnamedstate(...)
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 is an n-by-1 vector of time samples labeling the rows of x.
x is an n-by-m matrix, where n is the number of times the reactions fired and m is the number of states logged during simulation. Each column of x defines the variation in the quantity of a species over time.
[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.
![]() | sbiogetmodel | sbiogetsensmatrix | ![]() |

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 |