How to import arduino libraries in matlab

조회 수: 3 (최근 30일)
Gianluca Finotti
Gianluca Finotti 2018년 1월 26일
답변: Madhu Govindarajan 2018년 1월 29일
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에서 Instrument Control Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by