Main Content

Configure a Model for ARM Cortex-M3 QEMU Emulator

Configure a Simulink® model, build an executable, and run the executable on ARM® Cortex®-M QEMU emulator.

  1. Open an existing Simulink model, such as arm_cortex_m_gettingstarted, or create a new model.

  2. Create a working copy of your Simulink model using File > Save As. Keep the original model as a backup copy.

  3. In the model, click the Model Configuration Parameters button.

  4. Select the Hardware Implementation pane.

  5. Set the Hardware board parameter to ARM Cortex-M3 (QEMU). This pane provides a CPU Clock (MHz) parameter.

  6. To execute the generated code using the QEMU emulator, requires you to install Embedded Coder® Interface to QEMU emulator add-on. If you have not installed, only code generation is supported. Make sure that you select the Generate Code Only option in Configuration Parameters > All Parameters > Code generation category.

  7. Click Apply to save the changes to your model.


Rapid Accelerator simulation is not supported by Embedded Coder Support Package for ARM Cortex-M Processors.