MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   Mathematica论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=34)
-   -   [求助]如何把string转换为list? (https://www.labfans.com/bbs/showthread.php?t=4506)

cathyniuniu 2008-09-18 18:28

[求助]如何把string转换为list?
 
以下内容存在txt文档中,
{{1,2,3}, ...,{9,8,7}}

在Mathematica中Import该txt文档,
s=Import["..."];

但是此时的s为string,并非我想要的list。
请问,我该怎么把s的类型变成list呢?
谢谢!


所有时间均为北京时间。现在的时间是 11:19

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