Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How do i create a objet of a S-function? - Adding C++ libraries in Simulink for Arduino

1 vue (au cours des 30 derniers jours)
Daniel
Daniel le 7 Oct 2016
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hello!
Look at those tutorials. 1. https://www.youtube.com/watch?v=L86n9wZZz-g 2. https://www.youtube.com/watch?v=p7fQ9QsYd0s 3. https://www.youtube.com/watch?v=G5ql23PaC_Q
Those tutorials explain how use include Arduino C++ libraries in a S-function and use that S-function to control LCD and sensors, etc.
But the problem is that for every new line or another sensor, I need to create a new LCD S-function.
Is there a method so I can create a object of a S-function so I don't need to create a new S-function for every different new LCD printout. Or if I have have two types of gyros or temperature sensors who is required a C++ library for Arduino, I can just create an object of a S-function.
Best regards

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by