How to get input from a simulink model to .m file ?
I made a simulink model and linked it with interpreted matlab function block which has my .m code file, but I need 6 inputs to the .m file that are supposed to come from my model. What function do I use in my .m file to get values from my simulink model. As the interpreted function block has only one input, I have used a MUX.I made a simulink model and linked it with interpreted matlab function block which has my .m code file, but I need 6 inputs to the .m file that are supposed to come from my model. What function do I use in my .m file to get values from my simulink model. As the interpreted function block has only one input, I have used a MUX. I made a simulink model and linked it with interpreted matlab function block which has my .m code file, but I need 6 inputs to the .m file that are supposed to come from my model. What function do I use in my .m file to get values from my simulink model. As the interpreted function block has only one input, I have used a MUX. simulink to .m file MATLAB Answers — New Questions