matlab - Connecting different Simulink models on different computers -
i want run different models in different computers synchronously using real time simulink. there way can make connection between 2 computers , transfer data in between them , run simulations in parallel?
the way can think of use udp send , udp receive blocks transfer data between 2 models. however, aware that:
- these blocks part of dsp system toolbox (there equivalent ones in instrument control toolbox, not sure difference between two)
- even these blocks, won't "real-time". way ensure hard real-time generate c code model , run on real-time platform. matlab/simulink runs on non-real time o/s can't real-time. having said that, if model runs faster real-time, can slow down pseudo real-time. there various utilities available that, see slowing down simulink more details.
there tcp/ip send , receive blocks in instrument control toolbox. these more restrictive udp counterparts, ensure better integrity of data transfer.
Comments
Post a Comment