Hi,
I have a simulation model in PLECS. I have done a m-File so that the simulation runs several times one after another with different parameters. I would like to save the scope view for the simulations.
Is there any possibility to do so?
I know that there is a solution with the “To File” block but I would prefer to have the scopes.
Kind regards
Refer to the following excerpt from the PLECS Documentation + Simulation Scripts + Command Line Interface in PLECS Blockset.
You would then place the above ‘ExportBitmap’ command in your m-File to execute when you would like to capture the graphic (i.e. after each simulation run).
Thank you very much for your answer. It helped me a lot.
There is only one little problem left I have:
The simulation runs several times with different data exported from .txt datasheets.
Now I want to have the names of the .txt datasheets as ‘fileName’ of the exported Scope.
Do you know how I can do this (name the file after a string)?
Kind regards
Simply replace the ‘fileName’ string with a string reflecting your desired naming convention.