Why does lowpass filter model compile slower in R2022b than R2022a?

2 views (last 30 days)
I have a model that features a lowpass filter that is running slower in R2022b than R2022a.
I have had similar issues with models utilizing the following Communications and DSP blocks:
  • Lowpass filter
  • Phase/frequency offset
  • Accumulator
  • Variable fractional delay
  • Noise temperature
  • NCO
  • Moving average
  • Scopes
  • Spectrum Analyzers  

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 8 Dec 2022
Due to changes in how simulation compilation is done between R2022a and R2022b, the first compilation of a model in R2022b may be slower than it would be in R2022a, but on each run after that, you should find that the model compiles faster in R2022b.
You can obtain detailed timing information for your model with the following commands:
>> simOut = sim(model)
>> modelSimulationTime = simOut.SimulationMetadata.TimingInfo

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!