MATLAB Answers

How do I enable External mode for Arduino, BeagleBoard, PandaBoard, LEGO MINDSTORMS NXT

2 views (last 30 days)
"Simulink freezes right before the model runs on the target hardware in External mode. As in: The model gets built and then downloaded to the target, but right before it runs, on the bottom left corner of the model, the status says "initializing".. It gets stuck in this mode forever and you're unable to close Simulink. Forcing the process to end is the only way to close MATLAB/Simulink"


Sign in to comment.

Accepted Answer

Rolfe Dlugy-Hegwer
Rolfe Dlugy-Hegwer on 4 Dec 2012
To use External mode, use only the "Enable External mode" checkbox on the Run on Target Hardware pane in Configuration Parameters.
Leave the Simulation mode pull-down menu in the model toolbar set to Normal (menu: Simulation > Mode > Normal).
For more information, search the Help for "Tune and Monitor Models Running on..." and choose the topic for your hardware.


Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by