Main Content

addNewOperatingSystem

Class: soc.sdk.BoardSupport
Namespace: soc.sdk

Add new operating system to BoardSupport object

Syntax

operatingSystemObj = addNewOperatingSystem(boardSupportObj,name)

Description

operatingSystemObj = addNewOperatingSystem(boardSupportObj,name) creates a soc.sdk.OperatingSystem object and adds the object to the soc.sdk.BoardSupport object.

Input Arguments

expand all

BoardSupport object, specified as an soc.sdk.BoardSupport object, defines a hardware board that you can use with the SoC Blockset™ features.

A name assigned to the Name property of the soc.sdk.OperatingSystem object.

Example: "MyLinuxDistro"

Data Types: string | char

Output Arguments

expand all

soc.sdk.OperatingSystem object that defines the specification of the operating system and task management.

Version History

Introduced in R2019b