Skip to main content
SKara.7
Associate III
July 7, 2021
Solved

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

  • July 7, 2021
  • 1 reply
  • 1303 views

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

    This topic has been closed for replies.
    Best answer by Erwan YVIN

    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

    1 reply

    Erwan YVIN
    Erwan YVINBest answer
    ST Employee
    July 12, 2021

    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