I have built up a power system model that only contains Simscape blcoks (e.g. Transmission PI model, voltage source). Is it possible to compile this simscape model to C code? later I would like to run the C coe in Dspace hardware in loop simulator?
This is quite straighforward if the model only consists of normal simulink block but it seems it wont work as easy as that for physical blocks.
Any help is much appreciated.