Codesign and Cosimulation Environment Based on Matlab/Simulink Models