How to import arduino libraries in matlab

1 次查看(过去 30 天)
Hi, I want to record temperature from an Arduino Uno using Matlab. I have been suggested to use a DS18B20 (see https://forum.arduino.cc/index.php?topic=524930.0). The problem is that this sensor needs the Dallas Temperature Control Arduino library. I am having the same problem for interfacing an LCD with Matlab. Is there an easy way to import libraries in Matlab or, anyway, to use these type of sensors easily. Notice: usually I use Matlab 2012. For the type of experiments I had to use (turn on LEDs or Electrodes) it was easy and working fine. For this experiment, I also tried Matlab 2017 but I am possibly having even more troubles.
Please, bear in mind, I am not an expert in this things.

回答(1 个)

Madhu Govindarajan
Madhu Govindarajan 2018-1-29
Looks like this library can help bring temperature data from the sensor - https://www.mathworks.com/matlabcentral/fileexchange/57897-1-wire-add-on-library-for-arduino?focused=8437254&tab=example#5

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by