To Workspace Simulink Block returns structure

9 views (last 30 days)
Nathan Chee
Nathan Chee on 15 Apr 2020
Answered: Jyotsna Talluri on 22 Apr 2020
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)

Jyotsna Talluri
Jyotsna Talluri on 22 Apr 2020
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

Community Treasure Hunt

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

Start Hunting!

Translated by