Problem with updating CAN Pack/Upack blocks programmatically

3 visualizaciones (últimos 30 días)
Saeed Soltani
Saeed Soltani el 6 de Jun. de 2016
Comentada: Saeed Soltani el 12 de Jul. de 2016
Hi, I change the message list(MsgList) of CAN Pack module using set_param:
Sys= 'Test/CAN Pack'
set_param(Sys,'MsgList', 'RcInfoMsg');
But as a result noting changes on the block. When I check the message from command line it is changed but the ports are not updated unless I click on the block and then Ok/ Apply button. This one also does not work:
set_param(gcb,'SimulationCommand', 'update');
I have found noting related. The only thing in this link , Accepted answer is using apply_CAN_block(gcb) which does not exist at all.
Any idea?

Respuestas (1)

Vinod
Vinod el 12 de Jul. de 2016
Saeed, please contact MathWorks Technical Support .

Categorías

Más información sobre Model Verification en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by