Plecs blockset is not saving the data for complete simulation in .csv file?

I am using PLecs Blockset with matalb and trying to save my results in .csv file. But the file is not loading properly and does not include the data points for complete simulation. PLease help how I can extract the waveforms from scope and edit/ modify them for my use.

Thanks

Sneha

Hello,

Did you read the To File block documentation? Can you post an example model?

Regards,

Kris

Hi Kris

I did read the documentation, But it did not help.

I was using this in blockset mode. So, finally I just extracted those signals to matlab/simulink and plotted them on Simulink scopes.

I am still looking for a solution to extract complete .csv file in Plecs.

Thanks

Sneha

Hello,

You will need to provide your model showing the issue, as this should otherwise work. I have attached an example model. But yes, if you pull the signals out to the Simulink level and use a To Workspace block you can post-process them any way you like. You can also load signal data into a model via a lookup table block and plot it into a PLECS Scope.

Regards,
Kris

boost_converter_Vout_data_saved_to_file.mdl (39.6 KB)