Could you please give me an example of using m-file in a model? For example I have hash.m file: http://www.mathworks.com/matlabcentral/fx_files/8944/1/hash.m
it consists of two inputs, one is integer and second is char. The output is also char.
Hi,
I would like to include m-file into Simulink workspace. Should I use 'Level-2 M-file S-Function' block, if yes, how it must be used if I want to include two variables, one is a number and second is a text.
I could simply use m-file in Matlab command window and calculate what I need, but as...