rtobj.projectCreate(project_name)
project_name is required.
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 =
% 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');