m-function

hi everybody
i would like to ask if any one tried the MATLAB function with the simulink in MATLAB. did any one try this before ??