High Accuracy Timer

High-resolution performance counter

Sie verfolgen jetzt diese Einreichung

Uses the high-resolution performance counter to get the time which exceeds one microsecond accuracy.
time = hat;
% do some calculations
diff = hat - time;

Zitieren als

Ivo Houtzager (2026). High Accuracy Timer (https://de.mathworks.com/matlabcentral/fileexchange/16534-high-accuracy-timer), MATLAB Central File Exchange. Abgerufen .

Quellenangaben

Inspiriert: Simulink Block for Real Time Execution

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.2.0.0

more thread safe
Added Linux support using the POSIX high-resolution performance counter

1.0.0.0