Is it possible that the Arduino calculates values?

1 view (last 30 days)
Hallo,
I have a function with which I calculate energy values for a process. I'd like to calculated it with the Arduino itself! instead of Matlab. I will use these calculated values for further uses in Matlab. Is this possible? Maybe with a fcn block in Simulink? Thank you

Answers (1)

Jose Lara
Jose Lara on 10 Mar 2017
Hello Selim,
You can download the Arduino Support from Simulink package to deploy standalone operations on your Arduino. You could manipulate signals read through analog and digital signals and if you would like to read these values, you could export the signal using the Serial Transmit block from the Simulink Support Package for Arduino Hardware. You will be able to send buffered data to the specified serial port. You should check out the documentation on how to Use the Serial Communications with Arduino Hardware.

Categories

Find more on Arduino Hardware 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!