MATLAB Arudino PWM support
Show older comments
Hi,
I am looking for advice and insight on how to use the writePWMDutycycle and writePWMVoltage function in MATLAB arduino interface. I have installed the arduino PDE sketch to my arduino and installed the arduino hardware support package in MATLAB. However, I the writePWMDutycycle or writePWMVoltage functions show up a as undefined functions whenever I attempt to use them.
Do I need to upload an different version of the arduino PDE sketch to allow the use of these functions?
Thanks,
Answers (2)
Abhishek GS
on 17 Mar 2015
0 votes
Hi chucktehengineer,
Is it only the 'writePWMDutycycle' and 'writePWMVoltage' functions from Arduino MATLAB support Package that are erring out ? Are the functions 'arduino', 'configureDigitalPin', 'readDigitalPin', 'writeDigitalPin' etc working ?
If the other functions are also not working, it looks like you may have not installed the MATLAB Arduino Support Package properly.
Thanks, Abhishek
1 Comment
chucktehengineer
on 27 Mar 2015
rivanildo duarte almeida
on 14 Jun 2015
0 votes
good afternoon people
when I try to use the writeDigitalPin function, the error msn says not this set
what do I do?
Communities
More Answers in the Power Electronics Control
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!