Separating string element by two and creating a vector in Simulink
2 views (last 30 days)
Show older comments
Berke Ogulcan Parlak
on 31 May 2020
Answered: Ameer Hamza
on 1 Jun 2020
How do I convert the following string element into vector?
2 Comments
Kevin Joshi
on 1 Jun 2020
Use str2num to convert it to number... Use the div or mod logic to convert it to 2 digits...
Accepted Answer
Ameer Hamza
on 1 Jun 2020
See the attached file (created in R2019b). The following image also shows the block needed to do the conversion.
0 Comments
More Answers (0)
See Also
Categories
Find more on String in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!