MATLAB Answers

0

Problem with updating CAN Pack/Upack blocks programmatically

Asked by Saeed Soltani on 6 Jun 2016
Latest activity Commented on by Saeed Soltani on 12 Jul 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?

  0 Comments

Sign in to comment.

1 Answer

Answer by Vinod
on 12 Jul 2016

Saeed, please contact MathWorks Technical Support .

  1 Comment

Sign in to comment.