pls I `m working on HC12 controller and i have my code in c that will be loaded on the microcontroller is there is a way to enter my c code in matlab in a microcontroller model (simulink) and use this model in a system to simulate my code AS AN EXAMPLE to use this microcontroller to control DC motor..etc
I don`t think that other simulator rather than matlab will make me able to simulate my microcontroller on mechanical system or Dc motor or complex system and so i need to do so