cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate C code from Simulink model for SPC584B70 MCU ?

SKara.7
Associate II

Hi,

In our project, we have selected SPC584B70 as the MCU. Could you please provide help to support model based design and code generation using MATLAB/Simulink for SPC584B70 MCU ?

I can see that SPC58 series is supported by Embedded Coder from MathWorks for code generation. I would like to know the code generation settings that I need in MATLAB Embedded Coder to make to generate optimized production code for SPC584B70.

I am using SPC5 Studio IDE having built-in free GCC compiler for the code compilation.

Thank you in advance.

Best regards,

Sreejith

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello ,

we do not support Mathworks integration in SPC5Studio.

Anyway, SPC5Studio IDE is an eclipse based environment.

It is possible to install some Eclipse features in SPC5Studio IDE.

i recommend you to follow the tutorial

How to Integrate Eclipse into the Real Time Workshop build environment (Cf link below)

https://fr.mathworks.com/matlabcentral/fileexchange/15369-how-to-integrate-eclipse-into-the-real-time-workshop-build-environment

For any installation issues please contact Mathworks.

Best regards

Erwan

View solution in original post

1 REPLY 1
Erwan YVIN
ST Employee

Hello ,

we do not support Mathworks integration in SPC5Studio.

Anyway, SPC5Studio IDE is an eclipse based environment.

It is possible to install some Eclipse features in SPC5Studio IDE.

i recommend you to follow the tutorial

How to Integrate Eclipse into the Real Time Workshop build environment (Cf link below)

https://fr.mathworks.com/matlabcentral/fileexchange/15369-how-to-integrate-eclipse-into-the-real-time-workshop-build-environment

For any installation issues please contact Mathworks.

Best regards

Erwan