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.

TM4C129x with MATLAB/Simlink

Other Parts Discussed in Thread: ENERGIA

Hi, Everyone

I have a question about TM4C129x  with MATLAB/Simlink.

Is TM4C129x supported by MATLAB/Simlink ?

I saw a thread below:

e2e.ti.com/.../1293141

I understood TM4C123x is supported.
but I want to know about TM4C129x.

Best Regards
Hiroyasu

  • Hiroyasu,
    I believe that Matlab/Simulink is compatible with "anything" - provided that you transfer the data from your MCU to the PC in a compatible format...
    Usually, that is done via UART transfer. If you pack your data in some organized manner into a serial output and read it on the PC, any program can make use of it.
    By the way, would anyone here share experience transfering "live measurements" into math softwares, and seeing them in auto-scrolling charts?
    And further, any attempts to use Octave as opposed to the not-that-inexpensive Matlab? I love to pay and support the developers of my tools, but I can't yet justify the cost of a Matlab license for the current needs...
    Bruno
  • Hi, Bruno

    Thank you for your reply.
    But I need answer TI emploee.

    Best Regards
    Hiroyasu
  • Hiroyasu said:
    But I need answer TI emploee.

    And you've placed the reciprocal response demand @ the Matlab site as well?   (i.e. you've restricted responses to (only) Matlab employees at their site...)

    It seems "shortsighted" for you to deny, "Reports of success" from (other) than vendor employees.   (note: far fewer such employees than outsiders, here...)

  • Hiroyasu said:
    But I need answer TI emploee.

    Oh, of course! My apologies. I'll make a mental note to not reply your future questions, even if I know the answer!

    May I also suggest that, in that case, you don't start your post with "Hello EVERYONE". In English, "everyone" means "all people".

    Further, I am not too sure that any reply from a TI employee (that's how it is spelled) inside a forum is a legally binding note, be careful. It might be wiser for a company to rely on good developer professionals who knows what they are doing, rather than to seek formal answers to vague doubts... But that's just my opinion, maybe it is not how things work elsewhere.

    Regards,

    Bruno

  • Hi, Buruno and cb1

    I'm sorry. I appologize to you. My expression is not good.
    My customer just want to get answer from TI.
    I will be careful with the expression in the future.

    Best Regards
    Hiroyasu
  • Hi Hiroyasu,

    I am checking with our developer. MathWorks developed the TM4C123 support, so I dont think anyone from TI can answer for you.

    -Brian
  • Hi Hiroyasu,

    TM4C129x is not yet supported by the File exchange support that MathWorks has for Tiva boards:

    However the Bin file generated for supported board Tiva 123 can be flashed onto TM4C129 board, but there is a rare possibility that it will work as expected.

    Thanks,

    Peeyush

    Developer, MathWorks. 

  • Peeyush,

    I have been monitoring this thread as it is something that we are also interested in.

    I have no experience with the Matlab suite, but I initially had the impression that the most common way to export TM4x data to a PC for MatLab/Simulink analysis would be via UART/Serial transfer, or maybe following some sort of USB dedicated protocol.

    Seeing your reply, it appears that there is a "readily available" API for interfacing "microcontrollers with sensors" to a Matlab environment. Is that correct? Could I take this opportunity a bit off topic and ask you to provide here some links to what is used?

    Regards

    Bruno

  • Bruno,

    Sure, We have Simulink blocks for PWM, ADC, Serial, Digital Inputs and Outputs using Energia as a 3rd party library to deploy code on Tiva123 and MSP430 boards. This Simulink blocks as in the APIs can be reused on other TI processors which uses Energia as the library. Hence the target related changes are usually required such as build flags and peripheral related APIs to support a different hardware and same MATLAB/Simulink blocks(GUI way of programming, similar to TI Hercules ) can be used. Please have a look at the below video to get to know more about this and let me know if you have further questions:

    Thanks,

    Peeyush

  • Peeyush,

    Thank you very much for taking the time and sharing your solution. I will take a look as soon as possible and possibly make some notes here.

    Regards,

    Bruno