How to add a timer to a block of code which could be like a function block getting called periodically in simulink
3 次查看(过去 30 天)
显示 更早的评论
I have to do this. Create a traffic of your own and generate them with some scheduler like some msg will be sent every 20 ms. assume there are multiple nodes and each node sends say 10-15 messages. Each message could be single signal or combination of multiple signal composed into one. Using DBC file u will also receive the messages. So each node will transmit as well as receive messages simultaneously. You will log the messages of the whole bus for few minutes and populate the worst case delay it takes for them
0 个评论
回答(1 个)
Abhishek Kumar
2020-12-11
Hi Deependra, you can use the following to create a timer block and utilize into your model:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!