Syntax

rtobj.projectCreate(project_name)

project_name is required.

Arguments

project_name
Name of the project, specified as a string. To create a project within another project, you must first create the base project and then the sub-project.

Description

projectCreate is a method of the simwb.rtobj object. This method will create a project directory on the real-time host with the specified name.

Usage:
rtobj.projectCreate(project_name).
Input:
Output: status =

Example:

% Create a new real-time host environment collection object
rthosts = simwb.rthosts
% Get names of real-time host environments present in the collection
rthosts.getRTEnvNames
% Create a new real-time host object and link it to the localhost environment
rtobj1 = simwb.rtobj('localhost')
% Create project 
rtobj1.projectCreate('test');
% Create subproject
rtobj1.projectCreate('test/subtest');