How can I incorporate functionality for Arduino shields not found in the Arduino library in Simulink 8.0 (R2012b)?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 6 Mar 2013
Edited: MathWorks Support Team
on 27 Mar 2023
I am using Arduino hardware with various add-on modules (shields), and I would like to design a Simulink model to integrate with this hardware. Currently, the "Target for Use with Arduino Hardware" library does not contain any blocks that allow me to interact with the Arduino shields that I am using.
Is it possible to create custom blocks from Arduino libraries which can be used with the Run on Target Hardware feature? Additionally, is it possible to use the student version of Simulink for the entirety of this workflow?
Accepted Answer
MathWorks Support Team
on 25 Mar 2023
Edited: MathWorks Support Team
on 27 Mar 2023
Following step by step guide on MathWorks File exchange can be used to write your own driver blocks for Run on Target Hardware feature using S function builder:
See this link for more information on S Function Builder :
0 Comments
More Answers (0)
See Also
Categories
Find more on Device Driver Blocks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!