Are there any support for the new Arduino Due with Simulink ?
Hi
I'm trying to connect Arduino Uno with Simulink (MATLAB2011b). I entered following commands:
>> cd d:\arduino_simulink
>> addpath(fullfile(pwd,'arduino'),fullfile(pwd,'blocks'),fullfile(pwd,'demos'))
>> savepath
>> sl_refresh_customizations
>>arduino.Prefs.setArduinoPath('d:\ArduinoTarget')
After typing:
>> arduino.Prefs.setBoard('uno')
Matlab gives:
Reference to non-existent element of a cell array.
Error in arduino/Prefs/parseBoardsFile (line 227)
lhs = parsedLines{i}{1}{1}; % can be of the
form xx.yy.zz
Error in arduino/Prefs/setBoard (line 66)
boards = arduino.Prefs.parseBoardsFile(boardsFile);
What am I doing wrong?
PS. I've connected Arduino with Matlab before and all was OK