How to reverse a duration?
Show older comments
e.g. c = minutes(2) gives a duration variable: c = 2 min... How to reverse it and get just an integer of 2 ?
Accepted Answer
More Answers (1)
Kevin Chng
on 28 Aug 2018
0 votes
c = minutes(2) minutes(c)
it will give you back the integer....
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!