Difference between revisions of "HANcoder/Examples/Adding a customized block"
From OpenMBD
(A step-by-step guide for creating a custom block) |
|||
Line 1: | Line 1: | ||
This is a step-by-step guide for creating a custom block in MatLAB/Simulink and how to call custom functions written in the C programming language.<br> | This is a step-by-step guide for creating a custom block in MatLAB/Simulink and how to call custom functions written in the C programming language.<br> | ||
− | This guide assumes that [[downloads/HANcoder|HANcoder]] has been downloaded and installed successfully. | + | This guide assumes that [[downloads/HANcoder|HANcoder]] has been downloaded and installed successfully.<br> |
+ | The guide is based on an example: a Signal Tower | ||
+ | [[File:Example.jpg]] | ||
* Part 1: [[Matlab/Simulink files]] | * Part 1: [[Matlab/Simulink files]] |
Revision as of 10:11, 28 February 2019
This is a step-by-step guide for creating a custom block in MatLAB/Simulink and how to call custom functions written in the C programming language.
This guide assumes that HANcoder has been downloaded and installed successfully.
The guide is based on an example: a Signal Tower
File:Example.jpg
- Part 1: Matlab/Simulink files
- Part 3: Creating a block in Simulink
- Part 2: C source files
- Part 4: Updating the build environment
- Part 5: Testing the project