You can configure your real-time
application by using the MATLAB® language and build and download it to the
target computer. This example uses
open_system(docpath(fullfile(docroot, 'toolbox', 'xpc', 'examples',
'ex_slrt_rt_osc')))). It assumes that the default
target computer is configured for
network boot mode and that communication has been established.
Make sure that the connection to the target computer is functioning.
Load the model.
model_name = 'ex_slrt_rt_osc'; open_system(model_name);
Set the start and stop time parameters.
Build the model, assign
tg to the
target computer, and download
rtwbuild(model_name); tg = slrt('TargetPC1'); load(tg,model_name); pause(30);