- The IEEE 1588 Read Parameter block provides the necessary functionality. To use this block to measure system time, set "Parameter to read" to "System time (nanoseconds)" or or "Calendar time (time_t)". For more information about the Read Parameter block, see the link below: https://www.mathworks.com/help/slrealtime/io_ref/ieee1588readparameter.html
- The Read Target Time block that ships with Speedgoat I/O Blockset: https://www.speedgoat.com/help/slrt/page/io_main/refentry_read_target_time
How do I get the run time or system time of my Speedgoat target computer in R2020b and beyond?
27 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 22 Okt. 2020
Bearbeitet: MathWorks Support Team
am 5 Apr. 2025
I'm upgrading from R2019a to R2020b and I can't find analogous blocks to the "Elapsed Time" and "Time Stamp Delta" blocks to get run time or clock time from my Simulink Real-Time (SLRT) target computer. Adding a Clock block seems to cause CPU overloads.
Akzeptierte Antwort
MathWorks Support Team
am 4 Apr. 2025
Bearbeitet: MathWorks Support Team
am 12 Aug. 2024
There are two options for getting the Speedgoat target system time in your model:
Note that the MathWorks 'IEEE 1588 Read Parameter' uses the standard Epoch 1970-01-01 00:00:00, whereas the Speedgoat 'Read Target Time' blocks appears to use the Epoch 0000-00-00 00:00:00. For any further questions regarding this block, reach out to Speedgoat support.
Refer to the following MATLAB Answer for setting the system time of your Speedgoat target computer: How do I set the system time of my Speedgoat target computer?
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!