Import data from bpmn file into one string/char value Matlab

1 visualización (últimos 30 días)
Lucas S
Lucas S el 22 de En. de 2021
Comentada: Lucas S el 25 de En. de 2021
Hello,
I have a consistent bpmn file (similar to xml file) and i would like to read it with matlab and store the all file data in one string or char attribute. I have tried with
textread(file, format)
but the best i can have is a 2358796x1 char and then assemble each line to recreate the file but it's a very long process.
Is there another function to do this ?
Thanks for helping.
  2 comentarios
Mathieu NOE
Mathieu NOE el 22 de En. de 2021
hello
have you tried with readlines ?
Lucas S
Lucas S el 25 de En. de 2021
Well i think i have a too old matlab version, this function is undefined for me.

Iniciar sesión para comentar.

Respuesta aceptada

Stephen23
Stephen23 el 25 de En. de 2021
  1 comentario
Lucas S
Lucas S el 25 de En. de 2021
Well indeed it works, i was sure i have tested this solution before.
Thank you !

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Seismology en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by