I want to send a CAN message and then open a function or sth. to change the message and send it again. But it is important for me that the CAN message is sent periodically e.g. in 100ms and in between i want to change the message.
I already have read this guide how to send can messages periodically:
But there is nothing mentioned about my problem.
Is there a way to have a variable that changes or an event that happens when an as periodic defined CAN message is sent?
Or is there an other (better) way to do this? In Simulink is the Vehicle Network Toolbox, maybe its possible to do this in Simulink?
Thank you for your help :)