MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   从MATLAB中的txt文件导入数据系列 (https://www.labfans.com/bbs/showthread.php?t=22474)

poster 2019-12-06 20:46

从MATLAB中的txt文件导入数据系列
 
您好,我在txt文件中有数据系列,如下所示。如何在MATLAB中如下导入该文件的内容? ({}是单元格)

输入:

日期,代码,OPEN,HIGH,LOW,CLOSE,VOL 20081206,IDXS,9248.80、9248.80、9167.80、9178.30、8539624

输出:

{Date} {code} {OPEN} {HIGH} {LOW} {CLOSE} {VOL}

{20081206} {IDXS} {9248.80} {9248.80} {9167.80} {9178.30} {8539624}



[url=https://stackoverflow.com/q/59213148]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 01:09

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.