Effacer les filtres
Effacer les filtres

detail steps to realise an algorithm in real-time hardware

1 vue (au cours des 30 derniers jours)
William Campbell
William Campbell le 12 Sep 2020
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.

Réponse acceptée

Ameer Hamza
Ameer Hamza le 12 Sep 2020
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 commentaire
William Campbell
William Campbell le 13 Sep 2020
Thanks for all your comments and for replying so fast !

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by