Main Content

addNewOperatingSystem

Class: matlabshared.targetsdk.Target
Namespace: matlabshared.targetsdk

Add new operating system to the target

Syntax

operatingSystemObj = addNewOperatingSystem(targetObj,operatingSystemName)

Description

operatingSystemObj = addNewOperatingSystem(targetObj,operatingSystemName) creates a OperatingSystem object and adds the object to the Target object.

Input Arguments

expand all

Target object that references the Target being developed.

A descriptive name assigned to the Name property of the OperatingSystem object.

Example: 'MyLinuxDistro'

Data Types: char

Output Arguments

expand all

OperatingSystem object that references the specification of the operating system and scheduler.

Version History

Introduced in R2015a