Where do I install third-pary libraries?
显示 更早的评论
I've written a custom add-on library, that includes the 'Stepper.h' library from Arduino. I have definitely downloaded and installed the Arduino library and can access it from the Arduino IDE just fine. However, when I try running my code in Matlab, I get the following error:
"The Arduino source 'Stepper.h' for libraries 'StepperL298N/Stepper_L298N' cannot be found. Install the third party library source first and try again."
I know where the library is and have added the path manually, but will still get he same error. When I enter >>fullfile(arduinoio.CLIRoot, 'user','libraries') to find out where to move the library so that Matlab can find it, I get the following error:
"Unable to resolve the name 'arduinoio.CLIRoot'"
Can someone tell me how to resolve this?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!