Text this: Use S-FUNCTION BUILDER in MATLAB/SIMULINK