How do i specify the sample time of an Inport block simulink in 'milliseconds' programmatically from Matlab
1 view (last 30 days)
Show older comments
Vinay Sheshadri
on 31 Aug 2016
Commented: Azzi Abdelmalek
on 31 Aug 2016
The default time for a block unit is seconds. How can i change it to milliseconds programmatically ?
0 Comments
Accepted Answer
Azzi Abdelmalek
on 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 Comments
Azzi Abdelmalek
on 31 Aug 2016
This is not in Simulink. When you look at Simulink Solver parameter http://www.mathworks.com/help/simulink/gui/solver-pane.html , there is nothing about time unit
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!