I have a set of code which is working fine when i run it individually as matlab script. Now, I have made a model in simulink and i want my model to get the values from that matlab script. For ex- instead of specifying the value of 'A' in simulink model, i want the value of A to be imported from my mfile whenever i run my simulink model. Please help
MATLAB: Getting data from mfile to simulink
mfilescriptsimulink
Best Answer