How can I connect custom hardware to MATLAB or Simulink?

6 Ansichten (letzte 30 Tage)
mehrdad n
mehrdad n am 10 Feb. 2021
Kommentiert: Jonas am 11 Feb. 2021
Hi.
I have a custom board with its own code and I want to use it as a controller in Simulink. How can I connect MATLAB or Simulink to my board and send and receive data from it?

Antworten (1)

Jonas
Jonas am 11 Feb. 2021
It is not that easy. You will need to create a custom target. There is a step by step workflow for Cortex-A based processors and for Cortex-M based processors. General information can be found here.
If you download a hardware support package for for example Arduino, Raspberry Pi or Beagle board, you are basically downloading such a custom target which someone else has made for you.
  4 Kommentare
mehrdad n
mehrdad n am 11 Feb. 2021
Yes I have my board connected to USB. If I want to use the Simulink Desktop Real-Time, which block I should use? and how?
Jonas
Jonas am 11 Feb. 2021
I have no experience with that, but you should google it because I think other people will have done it before.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by