How can I connect custom hardware to MATLAB or Simulink?

3 ビュー (過去 30 日間)
mehrdad n
mehrdad n 2021 年 2 月 10 日
コメント済み: Jonas 2021 年 2 月 11 日
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 Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by