how can i create pwm in Raspberry pi for simulink?
1 回表示 (過去 30 日間)
古いコメントを表示
Sorry,I am Taiwanese. Can't use English for good.
I try to build example for Raspberry pi.
It create pwm in Raspberry pi.
I has download "Simulink Support Package for Raspberry pi Hardware" and "RASPlib", and I try to download wiringpi in Raspberry pi.
But I still can't build success this example.
Error:
How can I do to success build? Thanks!
0 件のコメント
回答 (2 件)
Murat Belge
2014 年 9 月 8 日
It turns out somebody else has already created a PWM block for Raspberry Pi using wiringPi library: http://www.mathworks.com/matlabcentral/fileexchange/41529-raspberry-pi-pwm-driver-block-sfunction
0 件のコメント
Murat Belge
2014 年 9 月 8 日
Can you post the text of the error message you received? Basically, copy and paste the entire text in the lower edit box of the error window here. I am guessing that you did not include necessary sources in the wiringPi that defines PWM functionality. Check this link to see a similar question on using wiringPi library functions.
0 件のコメント
コミュニティ
その他の回答 パワー エレクトロニクス コミュニティ
参考
カテゴリ
Help Center および File Exchange で Raspberry Pi Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!