フィルターのクリア

detail steps to realise an algorithm in real-time hardware

1 回表示 (過去 30 日間)
William Campbell
William Campbell 2020 年 9 月 12 日
コメント済み: William Campbell 2020 年 9 月 13 日
Is there a document that explains how a MatLab script or Simulink Model (Navigation controller) is complied into code and how it can be flashed into a target CPU (Raspberry PI) and how the I/O can be set up to integrate with appropriare sensors and how the hardware I/O can be associated with the algorithm's I/O to enable it to function.

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 9 月 12 日
You need the embedded coder to convert the Simulink models for using on an embedded system. If it is a famous hardware platform, there is usually a support package available that provides Simulink blocks to configure and control I/O pins. For example, Raspberry pi has a support package: https://www.mathworks.com/help/supportpkg/raspberrypi/index.html?s_tid=CRUX_lftnav, which shows how to upload the program from Simulink to the board. This support package requires that you have an OS already installed on the board.
If you are interested in bare-metal programming, then Simulink also has support packages for STM32 processors and boards: https://www.mathworks.com/hardware-support/stmicroelectronics.html and TI processors: https://www.mathworks.com/hardware-support/texas-instruments.html.
If any support package does not support a processor, you will most probably need to use S-function blocks and at least write the C code to control the pins.
  1 件のコメント
William Campbell
William Campbell 2020 年 9 月 13 日
Thanks for all your comments and for replying so fast !

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by