MATLAB Answers

0

Simulink Arduino encoder reader block

ayad waisi 님이 질문을 제출함. 9 May 2019
Dear Sir,
When I tray to use Simulink Arduino encoder block in Matlab 2019a to read the encoder I get these teo errors:
Error evaluating registered method 'Start' of MATLAB S-Function 'msfun_arduino_io_setup' in 'encoder/Arduino IO Setup'. The following is the MATLAB call stack (file names and line numbers) that produced this error:
['C:\Users\ayad_\OneDrive\Documents\MATLAB\Add-Ons\Collections\Legacy MATLAB and Simulink Support for Arduino(2)\simulink\msfun_arduino_io_setup.m'] [80]
Caused by:
Unrecognized property 'chkp' for class 'arduino'.
Component:Simulink | Category:Block error
Error evaluating registered method 'Terminate' of MATLAB S-Function 'msfun_arduino_io_setup' in 'encoder/Arduino IO Setup'. The following is the MATLAB call stack (file names and line numbers) that produced this error:
['C:\Users\ayad_\OneDrive\Documents\MATLAB\Add-Ons\Collections\Legacy MATLAB and Simulink Support for Arduino(2)\simulink\msfun_arduino_io_setup.m'] [93]
Caused by:
Undefined function 'isvalid' for input arguments of type 'double'.
Component:Simulink | Category:Block error
2019-05-09.png
If there is another method to read the encoder continously, or Can lead me to build from the essintial blocks, I will appreciate that.
Thank you

  댓글 수: 0

로그인 to comment.

제품


릴리스

R2019a

답변 수: 0


Translated by