필터 지우기
필터 지우기

How fix the error "Error evaluating registered method 'check parameters' of Matlab S-function 'msfun_ard​uino_analo​gread' in 'untitled/Arduino Analog Read" with Arduino IO on Arduino UNO with MATLAB 2014a?

조회 수: 11 (최근 30일)
I am trying to read some ports with ArduinoIO through Arduino UNO on MatLab 2014a, I test the library with other program and it works, but I just put the Arduino IO Setup, Real-Time Pacer and Arduino Analog Read blocks. When I want to change the port on Arduino Analog Read block this error apperars:
"Error evaluating registered method 'check parameters' of Matlab S-function 'msfun_arduino_analogread' in 'untitled/Arduino Analog Read'. The following is the MATLAB call stack (file names and line numbers) that produced this error: ['C:\User\user\Documents\MATLAB\ArduinoIO\simulink\msfun_arduino_analogread.m'] [55] --> Invalid value for a mask parameter"
Can anybody help me with this error, I thought if I downloaded the file "msfun_arduino_analogread" shared here and update it on my library that could fix the problem but that doesn't work
  댓글 수: 7
manolo paredes
manolo paredes 2020년 4월 30일
i am using the Matlab 2018b and have the same problem......can anybody helpme
Mohammed Zaid Khan
Mohammed Zaid Khan 2021년 6월 12일
I am also using Matlab 2018b. It displays the same problem. The error may be due to arduino IO library compatible with other arduino boards except arduino uno eg. Arduino mega 2560.

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

답변 (2개)

JACKO
JACKO 2020년 3월 22일
Run Command
delete(instrfind({'Port'},{'COM5'}))

Sanket Chaudhary
Sanket Chaudhary 2021년 7월 30일
hello to solve this error u need to preprogram the ardiuno with adioes package given in io library

카테고리

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