To Workspace Simulink Block returns structure

I have been trying to use the BERtool for some simulations of a simulink model, however it appears that the "To Workspace" block generates a structure within which the BER variable is stored. This is then unable to be exctracted by the BERtool as it does not accept out.BER as a valid BER variable name.
Is there another way I could go about this?

Answers (1)

There exists a property 'Save format' of the 'To Workspace' block for saving the simulation output to the MATLAB workspace in a particular format. You can set that property to 'Array'.
Refer to the below link for more information

Asked:

on 15 Apr 2020

Answered:

on 22 Apr 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!