Forums

doubt regarding c-mex s-function

Started by raju_zm July 24, 2007
hai to all.I have ascii c-program.how i get c-mex s-function from
that c-code.so that i can use it as simulink block.
i tried 'mcc'command to convert .m file to mex
file.when i specify this name for s-function it gives some error.
i can write matlab code and ascii c-program.but i have
to control the system through matlab-simulink.
THANKS IN ADVANCE.