how to assign a microchip pic pin to a simulink input block?

7 ビュー (過去 30 日間)
Isaac
Isaac 2013 年 10 月 21 日
編集済み: Srinivas 2013 年 10 月 28 日
i'm trying use some generated c code for use with a pic microcontroller using embedded coder, but i don't know how to assign a microchip pic pin to a input simulink block.
does anybody know how to do this?
should i do this assignment manually after the code has been generated?
thanks, Isaac.

採用された回答

Arun Balasubramaniam Sivaraj
Arun Balasubramaniam Sivaraj 2013 年 10 月 28 日
編集済み: Arun Balasubramaniam Sivaraj 2013 年 10 月 28 日
Hi Isaac, You might need to download "device blockset" for the microcontroller you are using. PIC provides one for dsPIC DSC's. Its link is: MATLAB Device Blocks for MPLAB IDE... I couldn find blockset for any other. If you want blocks for a different microcontroller, try out "Custom Embedded Target Development" and "S MEX function" development for block creation. It will help you...

その他の回答 (1 件)

Srinivas
Srinivas 2013 年 10 月 28 日
編集済み: Srinivas 2013 年 10 月 28 日

カテゴリ

Help Center および File ExchangeLEGO MINDSTORMS EV3 Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by