# is not recognized in matlab GUI

조회 수: 1 (최근 30일)
gdz
gdz 2022년 12월 11일
답변: Mann Baidi 2023년 8월 30일
I would like to add a library to matlab gui. However the "#" was not recognized by the matlab. Anyone knew what's happening?
  댓글 수: 5
gdz
gdz 2022년 12월 12일
Thank you for pointing out.
Actually I would like to read the temperature of a K-type thermpcouple by using a temperature module called MAX6675. The MAX6675 is connected to the Arduino and I have downloaded a MAX_6675 library from Arduino. The MAX6675 works well in Arduino, but now i would like to let the temeparature display on MATLAB GUI.
I found a similar project (https://youtu.be/vFup14vi6H4), which are integrated MAX6675 to the MATLAB simulink. However, he did not use a DLL file and the code is written in C. May I know why can he do that?
gdz
gdz 2022년 12월 14일
Dear @dpb,
Am I going create two DLL files from the "max6675.h" and "max6675.cpp", or I only have to create from one of them?
Thank you.

댓글을 달려면 로그인하십시오.

답변 (1개)

Mann Baidi
Mann Baidi 2023년 8월 30일
Hi,
I understand that you are facing issues in importing the .h libraries and .cpp files in MATLAB. I would suggest you follow the instructions given in the following link.
Hope this helps!

카테고리

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