How fix the error "Error evaluating registered method 'check parameters' of Matlab S-function 'msfun_arduino_analogread' in 'untitled/Arduino Analog Read" with Arduino IO on Arduino UNO with MATLAB 2014a?
Ältere Kommentare anzeigen
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 Kommentare
Cristian Acosta
am 2 Nov. 2016
Syed Amer
am 7 Feb. 2017
I got the same problem with R2016b can anyone help with this issue
Eric Zunino
am 8 Mär. 2017
I finally found the problem, you have to run matlab by doing "Run as Administrator" and then reinstall ArduinoIO.
Markus Grund
am 7 Nov. 2017
@Eric reinstall the whole hardware supporr package?
ashwinee jadhao
am 13 Feb. 2019
I got the same problem but I am using C2000, do you have any idea about it?
manolo paredes
am 30 Apr. 2020
i am using the Matlab 2018b and have the same problem......can anybody helpme
Mohammed Zaid Khan
am 12 Jun. 2021
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.
Antworten (2)
JACKO
am 22 Mär. 2020
0 Stimmen
Run Command
delete(instrfind({'Port'},{'COM5'}))
1 Kommentar
John Lovera
am 12 Aug. 2020
Excuse me, where does the code run, in the codebase or in the matlab bin?
Sanket Chaudhary
am 30 Jul. 2021
0 Stimmen
hello to solve this error u need to preprogram the ardiuno with adioes package given in io library
Kategorien
Mehr zu MATLAB Support Package for Arduino Hardware finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!