How to configure CAN Pack programmatically? Or How to make a programmatically configurable CAN Pack?

5 Ansichten (letzte 30 Tage)
Hi, I have a GUI which imports arxml file and corresponding AUTOSAR SWCs directly in my Simulink model. The next step is, based on which SWC is imported, ports must be connected to other modules automatically as well. The module that must the Outport connect to, is CAN Pack. On the other hand in CAN Pack, the corresponding message from dbc file must be selected. Since CAN Pack mask is not programmatically configurable, I thought maybe I have to make new CAN Pack and CAN Unpack modules with Mux and Demux. I am not sure if it is possible, any idea how to make it?
Any other solution for my problem would be greatly appreciated.
  1 Kommentar
Saeed Soltani
Saeed Soltani am 3 Jun. 2016
Verschoben: Walter Roberson am 10 Nov. 2024 um 4:12
Right now I noticed, although it is user defined block, I can easily access the parameters using set_param . The only thing is now just to update the model, exactly what "apply" button does. Any idea?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Event Functions 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