Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by