Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

load - Download target application to target PC

Syntax

MATLAB command line

load(target_object,'target_application')
target_object.load('target_application')

Arguments

target_object

Name of an existing target object.

target_application

Simulink model and target application name.

Description

Before using this function, the target PC must be booted with the xPC Target kernel, and the target application must be built in the current working folder on the host PC.

If an application was previously loaded, the old target application is first unloaded before downloading the new target application. The method load is called automatically after the Real-Time Workshop build process.

Examples

Load the target application xpcosc represented by the target object tg.

load(tg,'xpcosc') or tg.load('xpcosc')
+tg or tg.start or start(tg)

See Also

xPC Target function unload.

xPC Target M-file demo scripts listed in xPC Target Demos.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS