Export to Tab Delimited Text file

Export to Tab Delimited Text file - 消息

#1 已发布: 2016/8/31 22:28:37
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

Is there a direct way to export a matrix to a tab delimited text file??

I have been exporting it to excel, then saving as a tab delimited text file. I'm hoping I could skip this extra step.
#2 已发布: 2016/9/1 02:26:59
Mike Kaganski

Mike Kaganski

184个赞,共434个帖子。

组: User

http://en.smath.info/forum/yaf_postst1642_Data-Exchange-plugin.aspx
С уважением, Михаил Каганский
#3 已发布: 2016/9/1 13:32:32
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

Thanks Mike for pointing me to the other thread. I looked over the 8 pages of the thread, but no where does it say anything about tab delimited values, only comma delimited values.
#4 已发布: 2016/9/1 13:54:56
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

Thanks Mike for pointing me to the other thread. I looked over the 8 pages of the thread, but no where does it say anything about tab delimited values, only comma delimited values.



I might try to add an optional argument to setup a custom separator

As alternative you can build your own functions using fwrite() from DataExchange + var2str(...) from CustomFunctions

example attached: export2tsv.sm (6.07 KiB)已下载 1302 次。
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
Ernesto 2016/9/1 19:33:00
#5 已发布: 2016/9/1 18:39:17
Mike Kaganski

Mike Kaganski

184个赞,共434个帖子。

组: User

Wrote

I looked over the 8 pages of the thread, but no where does it say anything about tab delimited values, only comma delimited values.



Sorry for not being clear.
There's no such standard as "tab delimited values file", only CSV, but the CSV allows for different kind of separators.
As Davide says, it requires a developer to add that ability, and I suppose, that would be great.
С уважением, Михаил Каганский
#6 已发布: 2016/9/1 19:33:10
Ernesto

Ernesto

13个赞,共74个帖子。

组: User

Thanks for the file Davide, worked perfectly!
  • 有新帖
  • 无新帖