Using Matlab to load plecs model on to RT Box CE and read in the analog input from HW send it to Matlab and visualize in real time

Hi, all

I want to run a Plecs simulation model on the RT Box CE (that is connected to some HW and thus has analog inputs) from Matlab. The code should either be generated first or the .elf file should be loaded to the RT Box. The simulation data should be captured via the data capture block (or any other) and send back to Matlab. The data should be visualized in real time or at least very fast in Matlab.

Is this achievable and how or is there an alternative way or a workaround?
Reference is the python script to enable a communication to the RT Box via XML rpc

Please see this forum post showing how to use the JSON-RPC interface with MATLAB. You can build your application on top of the basic RPC commands.