sbiosaveproject
Save all models in root object
Syntax
sbiosaveproject
projFilename
sbiosaveproject projFilename
variableName
sbiosaveproject projFilename
variableName1
variableName2
...
Description
sbiosaveproject
saves
all models in the SimBiology® root object to the binary SimBiology project
file named projFilename
.
The project can be loaded with projFilename
.sbprojsbioloadproject
. sbiosaveproject
returns
an error if
is
not writable.projFilename
.sbproj
sbiosaveproject
creates the binary SimBiology project
file named simbiology.sbproj
. sbiosaveproject
returns
an error if this is not writable.
sbiosaveproject
saves
only projFilename
variableName
can
be a SimBiology model or any MATLAB® variable.variableName
. variableName
sbiosaveproject
saves
the specified variables in the project. projFilename
variableName1
variableName2
...
Use the functional form of sbiosaveproject
when
the file name or variable names are stored in a character vector.
For example, if the file name is stored in the variable
and
you want to store MATLAB variables fileName
and variableName1
,
type variableName2
sbiosaveproject (
at
the command line.projFileName
,
'variableName1
', 'variableName2
')
Examples
Version History
Introduced in R2006a