This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Load project from file


sbioloadproject ('projFilename','variableName')
sbioloadproject projFilename variableName1 variableName2...
s = sbioloadproject (...)


sbioloadproject('projFilename') loads a SimBiology® project from a project file (projFilename). If no extension is specified, sbioloadproject assumes a default extension of .sbproj. Alternatively, the command syntax is sbioloadproject projFilename.

sbioloadproject ('projFilename','variableName') loads only the variable variableName from the project file.

sbioloadproject projFilename variableName1 variableName2... loads the specified variables from the project.

s = sbioloadproject (...) returns the contents of projFilename in a variable s. s is a struct containing fields matching the variables retrieved from the SimBiology project.

You can display the contents of the project file using the sbiowhos command.

Introduced in R2006a