Hi everyone. My problem is that I need to stream variable from running MATLAB m-code script do running Simulink in real time. I was trying to use "From Workspace" block but, it gathers the value only once at the beginning of the simulation. I cannot just run a m-code script, save data and then transfer it to Simulink becouse both together need to work with real time vision system. How can I solve that problem?