作者normanT (门中有心)
看板MATLAB
标题[讨论] 请问csvread要读取的档案该放哪?
时间Tue Dec 13 23:39:48 2011
之前用matlab7都是放在 C:\MATLAB7\work
但是现在用2009a却没有这个资料夹
自己建了资料夹还是没办法读取
指令应该没输错吧?
M=csvread('bl.CSV');
M
却都出现这样的讯息
??? Error using ==> dlmread at 145
Mismatch between file and format string.
Error in ==> csvread at 52
m=dlmread(filename, ',', r, c);
Error in ==> Untitled7 at 2
M=csvread('bl.CSV');Trouble reading number from file (row 1, field 1) ==> PK
请高手帮帮忙~~
感激不尽
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 223.136.140.134
1F:推 Raymond0710:预设是 文件->MATLAB 不然将资料夹add to path 12/14 00:44
2F:→ Steven0422:csvread读进来的档案内容只能是numeric values 12/14 22:34