how can i create pwm in Raspberry pi for simulink?

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!

답변 (2개)

Murat Belge
Murat Belge 2014년 9월 8일

2 개 추천

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
Murat Belge
Murat Belge 2014년 9월 8일

0 개 추천

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.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

질문:

2014년 8월 29일

답변:

2014년 9월 8일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by