필터 지우기
필터 지우기

Why does the arduinosetup command not pop up the interface?

조회 수: 1 (최근 30일)
Mark Gelb
Mark Gelb 2017년 9월 14일
댓글: Mark Gelb 2017년 9월 21일
I have successfully downloaded the arduino support package and been able to define an arduino object as well as use at least one of the functions in that package successfully.
ardObj=arduino('COM3','Uno')
dataVoltage=readVoltage(ardObj,1)
Whenever I try to use the arduinosetup command in the Command Window, it only says the function arduinosetup is undefined. Why would that be the case when other functions work and I can successfully see my arduino object & properties? Any advice would be appreciated!

답변 (1개)

Sanjana Ramakrishnan
Sanjana Ramakrishnan 2017년 9월 19일
Execute the below command in MATLAB command window to check if the Arduino support package is installed correctly:
>>which -all arduinosetup
The above command should display the path of 'arduinosetup.m' file. If it does not display the path of the m file, try reinstalling Arduino support package and check if it resolves the issue.
  댓글 수: 1
Mark Gelb
Mark Gelb 2017년 9월 21일
Hi Sanjana, I reinstalled the Arduino support package and typed your suggested command into the command window. The result was 'arduinosetup' not found. Is there a way to receive the .m file independently of the package and/or do you have any other suggestions?

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

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by