Difference between revisions of "HANcoder/STM32/Getting Started Guide MATLAB Installation"

From OpenMBD
Jump to: navigation, search
Line 1: Line 1:
 
{{HANcoder}}
 
{{HANcoder}}
  
First of all, MATLAB has to be installed. If this is already done, please check if the required [[HANcoder/STM32/Getting_Started_Guide_Matlab_Installation#Toolboxes| toolboxes]] are installed.
+
First of all, MATLAB has to be installed. If this is already done, please check if the required [[#Toolboxes| toolboxes]] are installed.
 
==Requirements==
 
==Requirements==
 
MATLAB can be installed with Windows XP, Windows 7, Windows 8 and Windows 10. Somehow, using MATLAB with Windows Vista seems to cause problems with the code generation.
 
MATLAB can be installed with Windows XP, Windows 7, Windows 8 and Windows 10. Somehow, using MATLAB with Windows Vista seems to cause problems with the code generation.

Revision as of 12:56, 29 March 2017


First of all, MATLAB has to be installed. If this is already done, please check if the required toolboxes are installed.

Requirements

MATLAB can be installed with Windows XP, Windows 7, Windows 8 and Windows 10. Somehow, using MATLAB with Windows Vista seems to cause problems with the code generation. The following MATLAB versions are compatible with the HANcoder STM32 Olimexino Target: MATLAB 32-bit, 2009a until 2014a MATLAB 64-bit, 2012a until 2016b For Matlab versions from 2009b until 2013a a special set of template models is available. 1.2 Install Matlab can be downloaded from the MathWorks site. As can seen in the figure below, you can find the download on the products page. You’ll need a Mathworks account to download products of Mathworks.

The installation steps for MATLAB are documented on the MathWorks website. Please follow the steps as indicated on the website, the steps for older MATLAB versions are similar. Be aware of the additional installing info, located below, that is important for the use of HANcoder.

Toolboxes

While installing Matlab you’re being asked to select the products to install. As previous said the required toolboxes are: • MATLAB • Simulink • Simulink Coder (formerly Real-time Workshop) • Embedded Coder (formerly Real-time Workshop Embedded Coder) The following options are optional, but highly recommended • MATLAB Coder • Stateflow • Stateflow Coder (nowadays integrated in Simulink Coder) • Fixed-point Designer (formerly Fixed-Point Toolbox & Simulink Fixed Point) • Vehicle Network Toolbox The tools can be selected in the window that is shown on the next page: