Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Creating Standalone Application

Daniel Bennett edited this page Oct 18, 2017 · 16 revisions

The process of compiling a Simulink model to run as a standalone application on a flash drive is described in detail in this Simulink documentation page. The procedure is summarized below, but the most complete information is found in the documentation.

Steps

  • Follow the procedure in Setting Up Development PC
  • Create a bootable flash drive with FreeDOS using the Rufus tool (use the following settings)
    • MBR partition scheme for BIOS or UEFI
    • FAT32 file system
    • 8192 bytes cluster size
    • Create bootable disk using FreeDOS
  • Select Stand Alone mode for the boot configuration in the Simulink Real-Time Explorer for the CassieV3 target (make sure to save the change)
  • Build the model that will be loaded onto Cassie (for example, model.slx)
  • After the build completes, copy all files in the model_slrt_emb folder (listed below) to the flash drive (this folder can be found in the directory where the generated code is saved)
    • autoexec.bat
    • xpcboot.com
    • model.rtb
  • Set the target computer's BIOS settings to boot first from the flash drive
  • Plug the flash drive into the target computer and power on

Clone this wiki locally