Bit Error Rate Analysis APP problems - AWGN variable getting deleted and output variable using out.varname
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am attempting to use the "Bit Error Rate Analysis" APP to do BER measurements of a simple 64psk system (from a text).
Symptoms:
- When I run the montecarlo simulation with the simulink model, I can see the simulink window open, and the displayed error rate in a display box for each run of the AWGN SNR value. The result values seem reasonable. The "To Workspace" variable name connected to the BER results (error rate Calculation output) is grayBER, and displays on the simulink block diagram as such. However, when the app opens the simulink model the variable displays as out.grayBER.
- In the model setup I have the single simulation output unchecked. The plot on the BER tool app just shows a flat line as if the simulation results were not read.
- When I open the simulink model after running the BERtool motecarlo simulation, the simulink variable is again listed as just grayBER.
- If I run the simulink model, I can see the "grayBER" variable in the Base Workspace
- I can see the values of the grayBER variable in the matlab workspace
Another perhaps unrelated issue is that running the BERtool deletes the AWGN variable EbNo when the APP completes the montecarlo simulation run. I can watch the model explorer delete it when it finishes. Then when I manually open the simulink file, I get the warning that the variable has been deleted from the workspace.
My conclusions:
- The Bit Error Rate Analysis APP is using a different model settings than what are used when I manually run it.
- It appears that the Bit Error Rate Analysis APP is being a bit overzealous in cleaning up the variables it uses after running.
Are there settings somewhere that will fix these issues ?
2 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Event Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!