How to update CAN Pack / CAN Unpack blocks in the Vehicle Network Toolbox programatically when a new DBC file is loaded?
Mostrar comentarios más antiguos
I am using the Vehicle Network Toolbox and Simulink version R2017b. In my current workflow, I add CAN Pack / CAN Unpack programmatically to my model which is assigned to a CAN database (DBC file).
My problem is, that the blocks are not updated properly if the DBC is modified. For example, inputs and outputs do not show up in the block appearance. Updating and simulating the model does not help.
Only opening the block dialog box and closing it with Ok solves the problem. This can be very tedious for models with many blocks.
Now, I am looking for a way to implement this update process programmatically into my code.
Does Simulink provide a feature for this?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Vehicle Network Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!