createStandAlone

Create a standalone real-time application for target computer

Description

example

createStandAlone(target_object,modelName) creates a standalone real-time application. Before using this method, you must build the model and create a target object.

For more information about standalone real-time applications, see Standalone Mode.

Examples

collapse all

Build the model, create a target object, and create a standalone real-time application.

rtwbuild('model_name');
tg = slrt('target_name');
createStandAlone(tg,'model_name');

Input Arguments

collapse all

Object that represents the target computer. Before calling this function, make sure that you start the target computer with the Simulink® Real-Time™ kernel and apply the required Ethernet link settings.

Example: tg

Name of the model from which the real-time application was built.

Example: 'my_Model'

Introduced in R2019b