How to force Simulink to reload .dbc
조회 수: 1 (최근 30일)
이전 댓글 표시
I am using Matlab/Simulink 2015a and I am unable to "force reload" a CANbus Database (.dbc) file without having to open the CAN Pack and CAN Unpack function block parameters and re-specify the same database file I am using.
In details, here is the issue.
I am working on a model that is using a lot of CAN bus Database (.dbc) in order to model different subsystem. When I modify the "scale" factor and the "offset" inside the database, we can see the change immediatly in the "Can (Un)Pack Function Bloc", but the changes are not taken into consideration, unless I "force reload" the Function Block by clicking on the "Browse" button and (re-)select my Database (.dbc file)
I tend to believe that the Function blocs are "caching" some information. I would like to know where, so I can delete it and/or force it to reload the database.
The weird part is that a part is display inside the function block which is correct (updated), but when you do calculation with the bloc, you clearly see the bloc is using older factor and offset.
I have asked around and other and we can reproduce the situation, we just do not understand why and how to solve the issue.
This is important because as I am reverse engineering some CANbus data, I am tweaking my factor as I move along and having to reload manually all my Simulink "CAN Pack" and "CAN UnPack" at each time is very tiresome.
Thanks in advance.
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!