Separating string element by two and creating a vector in Simulink

How do I convert the following string element into vector?

2 comentarios

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?

Iniciar sesión para comentar.

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 1 de Jun. de 2020
See the attached file (created in R2019b). The following image also shows the block needed to do the conversion.

Más respuestas (0)

Productos

Versión

R2019b

Preguntada:

el 31 de Mayo de 2020

Respondida:

el 1 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by