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

2 ビュー (過去 30 日間)
Lucas S
Lucas S 2021 年 1 月 22 日
コメント済み: Lucas S 2021 年 1 月 25 日
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 件のコメント
Mathieu NOE
Mathieu NOE 2021 年 1 月 22 日
hello
have you tried with readlines ?
Lucas S
Lucas S 2021 年 1 月 25 日
Well i think i have a too old matlab version, this function is undefined for me.

サインインしてコメントする。

採用された回答

Stephen23
Stephen23 2021 年 1 月 25 日
  1 件のコメント
Lucas S
Lucas S 2021 年 1 月 25 日
Well indeed it works, i was sure i have tested this solution before.
Thank you !

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSeismology についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by