In matlab 2021a version, the simulink example "AEBTestBenchExample" does not run with Bird's Eye scope active.

When I execute AEBTestBenchExample simulink model with Bird's Eye scope off, it runs. But if I turn the BEV scope on, the following error message occurs.
"The output of 'AEBTestBenchExample_test/MIO Track/Pack MIO Track' cannot be logged because this block is a Simulink function within Stateflow or a MATLAB Function block. To log this data, log the signal inside of the Simulink function."
This problem did not happen in Matlab 2020b version, but it happens in 2021a version.
I would like to know how to run this example code without the error message.

Answers (2)

Hi,
Thanks for reporting the issue. We tried it at our end using R2021a but it is working as expected. Could you please provide a detailed explanation along with the reproduction steps you have tried so that we can replicate the issue.
I would recommend updating the MATLAB version to the latest release for all the latest updates and bug fixes.
Thanks

6 Comments

I updated the Matlab version with all the toolboxes available. Still having the same problem.
The following is the command I gave.
>> addpath(genpath(fullfile(matlabroot,'examples','driving')))
>> open_system('AEBTestBenchExample')
(simulink) Open 'BEV scope'
(simulink) Click 'Find Signals'
(simulink) Click 'Run'
Same errors happen here. When Bird-eye scope is off, the example runs fine. But the same error happens when the Bird-eye scope is on.
Hi,
Thanks @Yeonsik Kang, @Muhammad Iqbal and @Yixuan Wang for the updates and reporting the issue. Let us investigate further and will keep you updated.
Thanks
Hi,
Thanks, @Yeonsik Kang, @Muhammad Iqbal and @Yixuan Wang for reporting the issue and for your patience.
The recommendation is to update to the latest version of R2021a.
The issue is been fixed in R2021a Update 5.
If you are still facing the issue please feel free to report it.
Hope it helps!!
Thanks
@Prabhan Purwar appreciated and thanks for your time to see the issue.can you please explain the real cause of the problem if there is no restriction behind this?
There was an issue occurring due to multiple returns to a single block inside Find Signals in BES, which in turn throws an error in Simulink.
For further insights kindly connect to MathWorks support - https://www.mathworks.com/support/contact_us.html
Thanks

Sign in to comment.

I agree with @Yeonsik Kang the same error also encounter here on my system when I dowload and install the R2021a .previously I succefully run AEB_TestBenchExample in R2019b and observe the outputs in BEV.
here is the popup error:
could you please check it again and sugest the possible solutions.
Regards;

Products

Release

R2021a

Asked:

on 23 Jul 2021

Commented:

on 21 Sep 2021

Community Treasure Hunt

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

Start Hunting!