Simulink2ARM7

From ConceptCar
Revision as of 09:39, 15 April 2009 by Raphael (Talk | contribs)

Jump to: navigation, search

Overview

This page describes the user interaction with the SimulinkTarget tool. Every step needed in order to get from Simulink Model to the Executable file is described in this page. The first step before getting the model to run in the ARM7 Board is to generate the code that implements the Simulink Model. This process is described here Simulink settings for generating code

Create (or load) a project configuration file

The SimulinkTarget tool creates a configuration file where all the decisions made during the conversion process are saved. Doing so enables the user to load the configuration file and avoids the overhead of going through all of the steps every time new code is generated. The first step is to either load or create a configuration file.

Error creating thumbnail: Unable to save thumbnail to destination


After loading/creating a configuration file, new tabs are enabled and the user may proceed to the next steps.


Error creating thumbnail: Unable to save thumbnail to destination


As the user can easily note, the tab Simulink Model has been enabled and is intuitively the next step to be taken.

Load the simulink model

Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

Load the RTW generated code

Error creating thumbnail: Unable to save thumbnail to destination

Select the base stub code used

Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

Define CAN binding and marshaling

Error creating thumbnail: Unable to save thumbnail to destination
Error creating thumbnail: Unable to save thumbnail to destination

Define output folder and generate code

Error creating thumbnail: Unable to save thumbnail to destination

Optionally compile the generated code

Error creating thumbnail: Unable to save thumbnail to destination