I have a simulation model that uses many different refernce models and external data dictionaries, with local variables passed to the various models using busses. I want to duplicate this model and run it simultaneously because I have a use case where we will have two of these systems running side by side in the real world, communicating with each other through a modbus link.
I've seen information on OPC and UDP/TCP/IP blocks, but I can only find information about running them on a separate computer. I would like to run both of these simulations in separate matlab instances on a single computer. Does anyone have any experience with running two simulations simultaneously on the same host, communicating through one of these blocks? (most likely will be looking at OPC)