Invalid syntax error when inputting input arguments
显示 更早的评论
I am attempting to get a redboard Arduino Uno to communicate with MATLAB. I have run into the following error when entering input arguments as shown:
function [time, data] = ReadRedBoardData_v2('/dev/cu.wchusbserialfa130', 10, 3000, 'EKG')
Error:Error: File:
ReadRedBoardData_v2.m Line:
1 Column: 45
Invalid expression. Check
for missing multiplication
operator, missing or
unbalanced delimiters, or
other syntax error. To
construct matrices, use
brackets instead of
parentheses.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!