simulink realtime 2020b takes forever to build

1 view (last 30 days)
We have a fairly large Simulink Application that we have been using with Simulink Realtime for a while now on 2016b. We just updated to 2020b with all the new updates and our build time went from 6 minutes to 15 or more minutes. This is for a build with only slight changes from the previous build. This is not a first-time build. The main build process still takes about 6 minutes, but after the top level model has finally built and it prints out
\### Successful completion of build procedure for: <NAME OF TOP LEVEL MODEL>
It then sits and prints out nothing for about 8-12 minutes while it assembles the mldatx file that is actually loaded to the realtime machine.
This is frankly too long. It is wasting a huge amount of our time waiting for this build when the application has clearly already been built.
Why is this portion of the build taking so long? What can we do to speed it up? This is a major decrease in productivity for us. Are there plans to improve this in future updates?
  2 Comments
Jonas
Jonas on 12 Oct 2020
Edited: Jonas on 13 Oct 2020
Hi Jefferson
I strongly recommend opening a Service ticket for your question. The 2020b release contains a large update to Simulink Real-time, and if there are any things not working as intended I feel MathWorks should be notified directly. Also, Service may investigate your build logs of your particular application which may pinpoint the issue more directly.
With kind regards,
Jonas
Sebastian K
Sebastian K on 14 Oct 2020
Hi Jefferson,
I agree with Jonas, you should certainly reach out to technical support because this sounds unusual. It might be useful to use MATLAB's "profile" command before calling "slbuild" to build your model and see if you can generate a profiler report. This might reveal what is taking so long and it would certainly be helpful for the support engineers to look at this as well.
Cheers,
Sebastian

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!