开发者

How to export a .mat file full of characters to a .txt file?

开发者 https://www.devze.com 2023-02-16 02:26 出处:网络
I am trying to export a .mat file full of characters into a .txt file. Part of the .mat file looks like the following:

I am trying to export a .mat file full of characters into a .txt file. Part of the .mat file looks like the following:

zentimeter

zepler

zero

zeros

zeroth

zeta

ziel

zig

zigxag

zimmermann

zinc

zirconate

zisler

zncl

zns

zobel

zobels

zodiacal

zolatarev

zonal

zone

zones

zurich

After loading it to the workspace, I tried save command but it did not work and later I tried the comma开发者_如何学Cnd: [row]=find (dictionary). Instead of displaying the characters, a lot of numbers were displayed. May I know how to solve this problem please?


Matlab's data format is binary. You can cycle through the cells and use fprintf to print to a file.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号