openProject
Description
openProject(
opens RoadRunner to a new scene in the specified project rrApp
,projectFolder
) projectFolder
. The
project must already exist. If the specified project is already open, RoadRunner still opens a new scene.
Examples
Open Project
Open a project in RoadRunner using the roadrunner
function by specifying the location in which to create a project. This example assumes that RoadRunner is installed in its default location in Windows.
Specify the path to an existing project. For example, this code shows the path to a project located on C:\RR\MyProject
. The function returns a roadrunner
object, rrApp,
that provides functions for performing basic workflow tasks such as opening, closing, and saving scenes and projects.
projectFolder = "C:\RR\MyProject";
rrApp = roadrunner(projectFolder);
Specify a different project folder. Use the openProject
function to create a new scene in the second RoadRunner project.
newProjectFolder = "C:\My New Project";
openProject(rrApp,newProjectFolder);
Input Arguments
rrApp
— RoadRunner application
roadrunner
object
RoadRunner application associated with a project, specified as a
roadrunner
object. This object provides functions
for performing common workflow tasks such as opening, closing, and saving scenes and
projects. rrApp
provides functions that support importing data from
files and exporting scenes to other formats from RoadRunner.
projectFolder
— RoadRunner project folder path
character vector | string scalar
RoadRunner project folder path, specified as a character vector or string scalar. Use this argument to specify the project folder in which to create a new scene when opening RoadRunner. For details about the RoadRunner project folder structure, see RoadRunner Project and Scene System (RoadRunner).
Example: roadrunner("C:\My New Project")
specifies to create a new
scene in theMy New Project
folder when opening RoadRunner on a Windows® machine.
Data Types: char
| string
Version History
Introduced in R2022a
Beispiel öffnen
Sie haben eine geänderte Version dieses Beispiels. Möchten Sie dieses Beispiel mit Ihren Änderungen öffnen?
MATLAB-Befehl
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)