This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Simulink Embedded coder for Macintosh

I wanted to use Simulink Embedded Coder to work with the C2000 series microcontrollers.  It seems to only be available for Windows.  Is there a Macintosh version available?  Now that Code Composer Studio works on the Mac, I'd like to use the C2000 embedded blocks on the Mac as well.

Thanks

  • Hi Neil,

    Do check this link for the Mac support:
    in.mathworks.com/.../


    Regards,
    Gautam
  • Hi Neil,

    Sorry, at this time, the MathWorks support for C2000 is only on Windows (win64, older versions also support win32).

    You can see all the platforms supported by various support packages here:

    https://www.mathworks.com/hardware-support/system-requirements.html

    I have actually discussed potential Mac64 support with development, and it is under consideration for a future release. Short term, you would need to manually configure Embedded Coder to generate C code and import that into a CCS project.

    I will forward your request to the development team.

    Thanks,

    -Brian

  • I am not sure I understand your last suggestion.  Can you generate C Code from the Embedded Coder on the Mac?  I thought that I would need the C2000 support package to do that.  Currently we generate the C Code from a PC running Embedded Coder (with the C2000 support package) and import the project into the mac CCS 6.2.  Is this what you are suggesting?

    It would be great if we could do the whole process on the Mac.  Thank you.

  • Hi Neil,

    The C/C++ code from MathWorks tools is ANSI / ISO C-code, so it's suitable for use in all sorts of ways. Embedded Coder is supported for Win64, Mac64, and Linux64 platforms: http://www.mathworks.com/products/availability/#EC

    So, yes, you can buy Embedded Coder for your Mac. Embedded Coder provides full control over the code generation process, so it can be used with a wide variety of IDE's and compilers, including CCS. 

    Here's a blurb from the documentation:

    The Embedded Coder® product extends the Simulink Coder™ product with features that you can use for embedded software development. You can implement algorithms as Simulink blocks and Stateflow® charts in a Simulink model. To generate C or C++ code from a Simulink model, with Embedded Coder you can implement, configure, and verify your model for code generation. You can generate code that has the clarity and efficiency of professional handwritten code. For example, you can:

      • Generate code that is compact and executes efficiently, which is essential for real-time simulators, on-target rapid prototyping boards, microprocessors used in mass production, and embedded systems.

      • Customize the appearance of the generated code.

      • Optimize generated code for a specific target environment.

      • Integrate existing applications, functions, and data.

      • Enable tracing, reporting, and testing options that facilitate code verification activities.

    The MathWorks C2000 Support Package makes this implementation easier, as we provide a pre-packaged solution that configures the code generation features such as code optimizations, scheduler, etc, as well as IO device driver blocks for you. In this case, you wouldn't be able to use any of the pre-configured stuff because the C2000 Support Package wont work on your Mac platform, but you still have full control over the C code generated via Embedded Coder, and can use that in a CCS project. I'm not an expert on how to configure and set this up, but it is definitely feasible most of our customers use custom code generation environments using many combinations of tools, compilers, and IDE's.  

    You can get tons of info about Embedded Coder on MathWorks website here: http://www.mathworks.com/products/embedded-coder/

    And the documentation is here (login required): http://www.mathworks.com/help/ecoder/index.html

    If you want me to put you in contact with our Technical Sales group to have a focused discussion / demo, I can do that, message me your contact info.

    Cheers,

    -Brian