Filter löschen
Filter löschen

it is posible to create manually a can message?

1 Ansicht (letzte 30 Tage)
Gabriela
Gabriela am 16 Mär. 2014
Kommentiert: Gabriela am 17 Mär. 2014
it is posible to create manually a can message in matlab/simulink?
  4 Kommentare
Gabriela
Gabriela am 17 Mär. 2014
It's for a diagnostic tool
Walter Roberson
Walter Roberson am 17 Mär. 2014
it is closely related to VAN, Vehicle Access Network

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 17 Mär. 2014
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 Kommentar
Gabriela
Gabriela am 17 Mär. 2014
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by