How do i specify the sample time of an Inport block simulink in 'milliseconds' programmatically from Matlab

2 Ansichten (letzte 30 Tage)
The default time for a block unit is seconds. How can i change it to milliseconds programmatically ?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 31 Aug. 2016
You can't change it, and there is no need to do it. If you want a millisecond, just multiply it by 0.001
  2 Kommentare
Vinay  Sheshadri
Vinay Sheshadri am 31 Aug. 2016
Okay. I was wondering if I can change the time unit as mentioned http://www.mathworks.com/help/control/ref/chgtimeunit.html
I tried doing it but did not work. As a result i wanted to clarify the same
Thanks!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink 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!

Translated by