Documentation

sldrtconfigset

Attach and activate default Simulink Desktop Real-Time configuration set

Syntax

sldrtconfigset model
sldrtconfigset model 'ERT'
configset = sldrtconfigset
configset = sldrtconfigset('','ERT')

Description

example

sldrtconfigset model attaches the default Simulink® Desktop Real-Time™ configuration set SimulinkDesktopRealTime to the model, and then activates the configuration set. This set specifies various simulation and code generation parameter values that are useful when working with a Simulink Desktop Real-Time model.

example

sldrtconfigset model 'ERT' attaches the default Simulink Desktop Real-Time configuration set SimulinkDesktopRealTime_ERT for Embedded Coder® software to the model, and then activates the configuration set. This set specifies simulation and code generation parameter values that are useful when working with a Simulink Desktop Real-Time model in the Embedded Coder environment.

example

configset = sldrtconfigset returns the default Simulink Desktop Real-Time configuration set object. Later, you can attach this configuration set to a model.

example

configset = sldrtconfigset('','ERT') returns the default Simulink Desktop Real-Time configuration set object for the Embedded Coder software. Later, you can attach this configuration set to a model.

Examples

collapse all

Set model sldrtex_vdp to the default configuration set. Read the configuration set into a variable.

open_system sldrtex_vdp
sldrtconfigset sldrtex_vdp
configset = sldrtconfigset;
configset.Name
ans =

SimulinkDesktopRealTime

Open model sldrtex_vdp and set gcs to the default Embedded Coder configuration set. Read the configuration set into a variable.

open_system('sldrtex_vdp')
sldrtconfigset(gcs, 'ERT')
configset = sldrtconfigset('','ERT');
configset.Name
ans =

SimulinkDesktopRealTime_ERT

Input Arguments

collapse all

The model to which you attach the default Simulink Desktop Real-Time configuration set.

Example: sldrtex_vdp

Output Arguments

collapse all

The default Simulink Desktop Real-Time configuration set, which later you can attach to a model.

Introduced in R2015a

Was this topic helpful?