Effacer les filtres
Effacer les filtres

Real-Time Code Execution Profiling -- how to understand the results?

2 vues (au cours des 30 derniers jours)
Mike Buba
Mike Buba le 7 Avr 2021
Modifié(e) : Mike Buba le 7 Avr 2021
I followed Real-Time Code Execution Profiling steps and recorded some data. How to understand this result, i.e. how to see if my application code is overflowing or not.
Output from executionProfile.timeline
Output from executionProfile.report
In my application code, I have several sampling times
  1. Discrete 1: 50.0000e-006 (period)
  2. Discrete 2: 100.0000e-006 (period)
  3. Discrete 3: 1.0000e-003 (period)
  4. Constant: Inf
  5. Hybrid: N/A
How to know if I need to increase sample time, modify the fundamental frequency, move the code from one sample time to another, remove the code, etc?
In the report I can see only 5e-5 sample time (ADC and filtering application code), but not 1e-4 (control) and 1e-3 (digital outputs and constants).

Réponses (0)

Catégories

En savoir plus sur Instrument Connection and Communication dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by