Main Content

matlabshared.targetsdk.OperatingSystem Class

Namespace: matlabshared.targetsdk

Operating system that runs on hardware

Description

Use the OperatingSystem class to represent the operating system that runs on hardware, is supported by a Target, and is used to schedule execution of generated code.

Creation

H = matlabshared.targetsdk.OperatingSystem(operatingSystemName) creates an OperatingSystem object H and sets the Name property to operatingSystemName.

Input Arguments

expand all

The name of the operating system that runs on hardware supported by a target, specified as a character vector or string scalar. The valid values for the name of the operating system are 'Linux' and 'VxWorks'.

This argument sets the Name property as a character vector.

Data Types: char | string

Properties

expand all

Name of the OperatingSystem object, specified as a character vector or string scalar.

Data Types: char | string

Version History

Introduced in R2015a