A partner modsim project in matlab