Separating string element by two and creating a vector in Simulink

조회 수: 3 (최근 30일)
How do I convert the following string element into vector?
  댓글 수: 2
Kevin Joshi
Kevin Joshi 2020년 6월 1일
Use str2num to convert it to number... Use the div or mod logic to convert it to 2 digits...
Berke Ogulcan Parlak
Berke Ogulcan Parlak 2020년 6월 1일
How can I use str2num in Simulink?

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

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 6월 1일
See the attached file (created in R2019b). The following image also shows the block needed to do the conversion.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 String에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by