フィルターのクリア

Ardunino - Cannot access method 'getInterruptTerminals' in class arduino

1 回表示 (過去 30 日間)
Darnell Gawdin
Darnell Gawdin 2021 年 4 月 18 日
編集済み: Walter Roberson 2021 年 4 月 18 日
Greetings, I've new to matlab and arduino, this is probably and easy question
I've been trying to use the 'getInterruptTerminals' method but matlab reports the message "Cannot access method in class arduino :(
This is the code...
a = arduino('COM3','Uno')
terminals = getInterruptTerminals(a)
This line is in the documentation
arduinoObj = obj.Parent;
which should be...
a = arduino('COM3','Uno')
but I'm not sure about this line
arduinoObj = obj.Parent;
what does obj.Parent mean in this case, what is the parent?
Any help is appreciated.
Darnell
EDIT, I've been reading though the web site, its not as trivial as I thought, I may have to create a class to access this method, the is a bit new to me, I hope I'm on the right track.

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by