Separating string element by two and creating a vector in Simulink

How do I convert the following string element into vector?

댓글 수: 2

Use str2num to convert it to number... Use the div or mod logic to convert it to 2 digits...
How can I use str2num in Simulink?

댓글을 달려면 로그인하십시오.

 채택된 답변

Ameer Hamza
Ameer Hamza 2020년 6월 1일

0 개 추천

See the attached file (created in R2019b). The following image also shows the block needed to do the conversion.

추가 답변 (0개)

카테고리

제품

릴리스

R2019b

질문:

2020년 5월 31일

답변:

2020년 6월 1일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by