Invalid syntax error when inputting input arguments
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!