@ project: working on converting simulink to c codes