Hello All, I have a number of C code S functions that were created in a different version of Matlab. It does compile in MATLAB 5 and 6 . But the simulink block does not run . It gives: invalid mex file. Can anyone help me with this ..how to make it work. I guess the files that I have are from Matlab 4 . Is there anyway I can automatically make it compatible with the current available versions? Regards Tahmid |