I have a simulink of power system. it is complex. Now, i want to generate M-file of this simulink. Can i do it directly? means generate code file (M-file or c code) from simulink. How?
I have some question. In this model you sent, just used algorithm in MPPT model convert to SIL, means you built s-function block of it. so i cant convert all of elemans like resistance ...etc to code? Could I ask you to explain more about it
yes you are right. Could i ask you to explain me for using SIL step by step? I tried but i cant. I attached it. for code generation i obtained 2 errors. Can i help me? Dear Motahhir