simulinkproject
(Not recommended) Open project and get project object
simulinkproject
is not recommended. Use currentProject
or
openProject
instead. For more information, see Version History.
Syntax
Description
simulinkproject
opens the project or brings focus to the tool if
it is already open. After you open the tool, you can create projects or access recent
projects using the Project tab.
simulinkproject(
opens the
project specified by any file or folder under the project root in
projectPath
)projectPath
and gives focus to the project.
returns a project
object proj
= simulinkprojectproj
you can use to manipulate the project at the command
line. You need to get a project object before you can use any of the other project
functions.
opens the project specified by proj
= simulinkproject(projectPath
)projectPath
and returns a project
object.
Examples
Input Arguments
Output Arguments
Tips
Alternatively, you can use slproject.loadProject
to load a project, and
slproject.getCurrentProjects
to get a project
object. Use simulinkproject
to open projects and explore
projects interactively. Use slproject.getCurrentProjects
and slproject.loadProject
for project automation scripts.