it is posible to create manually a can message?
古いコメントを表示
it is posible to create manually a can message in matlab/simulink?
4 件のコメント
Image Analyst
2014 年 3 月 16 日
What is a can message? Do you mean a text message for a cell phone, or an email message? Or do you mean a popup message like you'd use msgbox() for? What exactly is the "can" you refer to? And please descrive exactly what "manually" means, as opposed to automatic or via lines of code.
Gabriela
2014 年 3 月 17 日
Gabriela
2014 年 3 月 17 日
Walter Roberson
2014 年 3 月 17 日
it is closely related to VAN, Vehicle Access Network
回答 (1 件)
Walter Roberson
2014 年 3 月 17 日
0 投票
You can create the data bitstream without much difficulty, and you can NRZ encode it to a representation of the voltage bit stream. However, the serial bus for CAN is not compatible with RS232, so you would need a CAN driver chip to drive the bus. Talking to the CAN driver might require you to write some MEX code that would be operating system and hardware dependent, but potentially you might be able to use loadlib() or activex to talk to a pre-written driver.
カテゴリ
ヘルプ センター および File Exchange で Vehicle Network Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!