Create folder on target computer



mkdir(filesys_object,folder_name) makes a new folder in the current folder on the target computer file system.

Note: The SimulinkRealTime.fileSystem object will be removed in a future release. See the release note for file system commands to use instead. These commands use the SimulinkRealTime.openFTP function and the functions for the MATLAB ftp object.


collapse all

Create a folder logs in the target computer file system.

tg = slrt;
filesys_object = SimulinkRealTime.fileSystem(tg);

Input Arguments

collapse all

File system object created by using the SimulinkRealTime.fileSystem creation function.

The file system object represents the target computer file system. You work with the target computer file system from the development computer by using file system methods.

Example: fsys

Data Types: struct

If you omit the drive letter, the command assumes that the folder path is relative to the default drive.

A fully qualified folder name can have a maximum of 248 characters, including the drive letter, colon, and backslash.

Example: logs

Data Types: char

Introduced in R2014a