Repository navigation
GOcontroll Simulink blockset 5.0.0: one blockset and one Embedded Coder target for the Moduline S1, M1, L4 and HMI1.
Start a project from GOcontroll-Simulink-Starter: a project folder that carries this repository as a git submodule. The blockset is no longer installed as a MATLAB Add-On toolbox.
git clone --recurse-submodules https://github.com/GOcontroll/GOcontroll-Simulink-Starter.git MyProject
What is new
- One target for all controllers: choose the controller under Configuration Parameters > Code Generation > GOcontroll options > Target; every block follows it.
- Two model templates with an Input - Control - Output structure: GOcontroll Moduline S1 and GOcontroll Moduline M1 / L4 / HMI1.
GOcontrollInstallCompilers S1 | Linux | Zig | allinstalls the tested compilers for the current user; nothing has to be added toPATH.- CAN: the three CAN buses of a Multibus Module on the Linux controllers, and the blocks CAN FD Receive and CAN FD Send.
- Blocks that exist for one platform only refuse a model for the other platform.
- Every block has a Help page with links to the GOcontroll knowledge base.
ManualUpload <model> <address>sends a build to a Linux controller.
Requirements
MATLAB R2023b or later with Simulink, Embedded Coder, MATLAB Coder and Simulink Coder; Git.
| Controller | Compiler (tested) | Install |
|---|---|---|
| Moduline S1 | Arm GNU Toolchain arm-none-eabi 14.2.rel1 | GOcontrollInstallCompilers S1 |
| Moduline M1, L4, HMI1 | GCC 9.2-2019.12 aarch64-none-linux-gnu | GOcontrollInstallCompilers Linux |
| Moduline M1, L4, HMI1 (Compiler = Zig) | Zig 0.14.1 | GOcontrollInstallCompilers Zig |
Updating a project to this version
git submodule update --remote GOcontroll-Simulink
git -C GOcontroll-Simulink submodule update --init --recursive
Models made with blockset 4.x are not converted: start a new model from one of the templates. Blockset 4.x stays available on the branch gps and in the releases V4.x.