How can I connect custom hardware to MATLAB or Simulink?

8 次查看(过去 30 天)
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?

回答(1 个)

Jonas
Jonas 2021-2-11
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 个评论
mehrdad n
mehrdad n 2021-2-11
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 2021-2-11
I have no experience with that, but you should google it because I think other people will have done it before.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by