it is posible to create manually a can message?

it is posible to create manually a can message in matlab/simulink?

댓글 수: 4

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
Gabriela 2014년 3월 17일
Hi, I wanted to say CAN frame. I must send CAN frame, but I don't have CAN vehicle toolbox.
Gabriela
Gabriela 2014년 3월 17일
It's for a diagnostic tool
it is closely related to VAN, Vehicle Access Network

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
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.

댓글 수: 1

Gabriela
Gabriela 2014년 3월 17일
Thanks>
I'm quite new in simulink. Could you please tell me how to create data bitstream? Iknow I have to integrate a diagnostic service into a model. For this I have to use some messages to acces the ECU signals. after that i have to integrate the model into Canoe. I'm a little confuse about how exactly have to do this

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 RF Blockset Models for Transceivers에 대해 자세히 알아보기

질문:

2014년 3월 16일

댓글:

2014년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by