This simulink model is simulating the 4x4 MIMO system. QR-OSIC method(like QR-MRL) is used here to detect MIMO streams. BER performance is within 1db of Maximum likelihood(ML) hard decision detector. Many other methods like QR-LRL, QRM-MLD, Enlarged QR-LRL(Hard and Soft) detectors ensures BER performance within 0 to 0.25 dB of ML. Here a sample model is given, which shows how the sfunction based model utilizes mex and c compiler without need of m file or embed mfile code.