I'm looking at trying to link together an existing Simulink Model which has the code for the MPC5748G DEVKIT on it, with an additional Simulink Model. The effective outputs of the existing model are the FlexCAN Blocks. is there a way of interacting with those Blocks such that I can send and recieve CAN Messages in the Virtual World without changing the Simulink model that would be uploaded to the NXP Board?
Apologies if that's a bit convoluted!
I don't think I got this right. So you want to bypass the existing CAN blocks in the Simulation? In this case, I can think to use some variants, which automatically figures out if the model runs in Simulation, or generates code.
Is this what you a relooking for?
Apologies for the unclear phrasing of the question.
I'd like to link the NXP CAN Transmit/Recieve blocks to the Virtual Simulink CAN Bus, so that I can perform a complete MIL test and have the model interact with our actuator models etc. without having to deploy the code to hardware.
Is there a way to do this, as I can't find much in the way of documentation.
Thanks and Apologies,