Tune and Monitor Model Running on BeagleBoard Hardware

About External Mode

You can use External mode to tune parameters and monitor a model
running on your target hardware.

External mode enables you to tune model parameters and evaluate
the effects of different parameter values on model results in real-time,
in order to find the optimal values to achieve desired performance.
This process is called parameter tuning.

External mode accelerates parameter tuning because you do not
have to re-run the model each time you change parameters. External
mode also lets you develop and validate your model using the actual
data and hardware for which it is designed. This software-hardware
interaction is not available solely by simulating a model.

The following list provides an overview of the parameter tuning
process with External mode:

In the model on your host computer, you enable External
mode.

In the model on your host computer, you tell Simulink® software
to run your model on the target hardware.

Simulink software runs the model on the target
hardware.

You use the model on the host computer as a user interface
for interacting with the model running on the target hardware:

When open blocks and apply new parameter values on
the host computer, External mode updates the corresponding values
on target hardware.

If your model contains blocks for viewing data, such
as Scope or Display blocks, External
mode sends the corresponding data from the target hardware to those
blocks on the host computer.

You determine the optimal parameter values by adjusting
parameter values on the host computer and observing data/outputs from
the target hardware.

When you are finished, you save the new parameter
values, disable External mode, and save the model.