I want to be able to see the model parameters displayed on the plecs interface during the plecs parameter scanning process. Why can't that be done

I want to be able to see the model parameters displayed on the plecs interface during the plecs parameter scanning process. Why can’t that be done
image

The initialization commands are executed when the simulation is started, at which points you will see Display Blocks update with their values. If the input to a Display Block is a Constant block associated with a variable defined in the model initialization commands, then you will see that value update at run-time.

Is that the behavior you’re looking for? If not, could you describe your desired behavior in more detail?

thanks for your reply.I want to be able to see the model parameters displayed on the plecs interface during the plecs parameter scanning process. Why can’t that be done

The Model Initializaiton Commands are only run at simulation start. They are not run sporadically as users engage with the schematic editor. In some cases in some cases simulation scripts may take several seconds to run or parameters may be dependent on data loaded from external files which can change outside of the context of the PLECS model.

If you are looking to see intermediate calculations in your Model Initialization Commands, you can always open the PLECS Console (accessed from the Window + Show Console drop down). If you omit a semicolon at the end of a line or use a printf() statement in your script, you can see the script output in the console.