From: Coppola Jolanda on
Hi everyone.

My problem is the following:

I have two program: the first it's a .m function and the second if's a simulink .mdl file. Now, I'd like to call in my .m function the Simulink block. Taht is, I'd like to use .mdl like a .m function: is it possible?

I'd like to do some like ".m function call Simulink -> Simulink calculates desired values -> Simulink passes them to .m function"

It's very very important.

Thank you