How do I install the library for the MakeBlock Ultimate 2.0 MeMega2560 (Arduino 2560) into Matlab?
5 views (last 30 days)
Show older comments
How do I install the library for the MakeBlock Ultimate 2.0 MeMega2560 (Arduino 2560) into Matlab?
It is located at
and in PlatformIO is called with
lib_deps = https://github.com/Makeblock-official/Makeblock-Libraries.git
or
lib_deps = Makeblock-official/Makeblock-Libraries
or
lib_deps = MakeBlockDrive
MATLAB gives me
>> a = arduino('COM6','Mega2560','Libraries','MakeBlockDrive')
Expected libraries to match one of these values:
'Adafruit/MotorShieldV2', 'Arduino/MKRMotorCarrier', 'I2C', 'RotaryEncoder', 'SPI', 'Servo', 'ShiftRegister', 'Ultrasonic'
The input, 'MakeBlockDrive', did not match any of the valid values.
>> a = arduino('COM6','Mega2560','Libraries','MakeBlock')
Expected libraries to match one of these values:
'Adafruit/MotorShieldV2', 'Arduino/MKRMotorCarrier', 'I2C', 'RotaryEncoder', 'SPI', 'Servo', 'ShiftRegister', 'Ultrasonic'
The input, 'MakeBlock', did not match any of the valid values.
>> a = arduino('COM6','Mega2560','Libraries','Makeblock-official/Makeblock-Libraries')
Expected libraries to match one of these values:
'Adafruit/MotorShieldV2', 'Arduino/MKRMotorCarrier', 'I2C', 'RotaryEncoder', 'SPI', 'Servo', 'ShiftRegister', 'Ultrasonic'
The input, 'Makeblock-official/Makeblock-Libraries', did not match any of the valid values.
>> a = arduino('COM6','Mega2560','Libraries','https://github.com/Makeblock-official/Makeblock-Libraries.git')
Expected libraries to match one of these values:
'Adafruit/MotorShieldV2', 'Arduino/MKRMotorCarrier', 'I2C', 'RotaryEncoder', 'SPI', 'Servo', 'ShiftRegister', 'Ultrasonic'
The input, 'https://github.com/Makeblock-official/Makeblock-Libraries.git', did not match any of the valid values.
>> lib=listArduinoLibraries()
Warning: Class arduinoio.LibraryBase will be removed. Following Add-On classes need to be updated to work in future release :
Arduino/MKRMotorCarrier. Follow steps mentioned in this Arduino Add-On document to update. Click here to turn off this warning.
Warning: Class arduinoio.AddonBase will be removed. Inherit class arduinoioaddons.arduino.MKRRotaryEncoder from
matlabshared.addon.LibraryBase instead. For more information, see Arduino Add-On document.Click here to turn off this warning.
lib =
8×1 cell array
{'Adafruit/MotorShieldV2' }
{'Arduino/MKRMotorCarrier'}
{'I2C' }
{'RotaryEncoder' }
{'SPI' }
{'Servo' }
{'ShiftRegister' }
{'Ultrasonic' }
0 Comments
Answers (1)
See Also
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!