I have a Simulink file (battery charger with a buck converter) that I am trying to convert over to Visual Studio. I am able to convert it over without issue, but my question is more geared towards having this code return parameters that I want (input/output voltage, temps, ripple current, etc.), either through the terminal window or an excel file. My Matlab/Simulink knowledge is fairly basic but my Visual Studio and coding knowledge is even less.
So my question is, within Simulink, do I have to attach any special blocks or issue special commands to those relevant test points so the generated code knows to print or display them? My goal with this is to be able to run parametric models with a wide range of component values. Is there a simple way I could practice this with, say a voltage divider, to understand how Simulink converts the model over?