How to import arduino libraries in matlab

3 views (last 30 days)
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.

Answers (1)

Madhu Govindarajan
Madhu Govindarajan on 29 Jan 2018
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

Categories

Find more on Instrument Control Toolbox 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!