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?

回答 (1 件)

Jyotsna Talluri
Jyotsna Talluri 2020 年 4 月 22 日

0 投票

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

カテゴリ

質問済み:

2020 年 4 月 15 日

回答済み:

2020 年 4 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by