convert simulink to c++
&zio_nneo:
Assuming you have the following Matlab programs in your current directory:
zio.m, zio_show.m, zio_ff.m, zio_wave.m, zio_rank.m
where zio.m is your main Matlab program and the rest are Matlab functions which are called by zio.m.
Use the Matlab compiler to compile the programs as follows:
mcc -m zio zio_show zio_ff zio_wave zio_rank
After the compilation finishes without any error, a new file 'zio' can be found in your current working directory. To run it, enter:
./zio