MATLAB Answers

To Workspace Simulink Block returns structure

2 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?

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.


Translated by