readmatrix "not enough input arguments"
15 ビュー (過去 30 日間)
古いコメントを表示
I'm getting a really strange error when trying to use readmatrix() to load a .csv file. It tells me there's not enough input arguments!
d_obs = readmatrix(sprintf('%s/%s',NMR_path,NMR_obs_filename));
this is the command I'm using. The strange thing is that just last week, this worked perfectly, and I have not changed anything since then. If it is at all related, I also get a message "The import tool doesn't have access to read the file" when I try to open the file directly by double-clicking it in the current folder tab. I checked the files and they're not empty.
Anyone got some idea of what is going on here?
9 件のコメント
Star Strider
2020 年 11 月 26 日
What else is in the
C:\Users\frede\Documents\MATLAB\NMR Project\Alt\Alternative Approach testing\Easy to use\
directory?
採用された回答
Ameer Hamza
2020 年 11 月 26 日
編集済み: Ameer Hamza
2020 年 11 月 26 日
You have defined a function name replace() placed on path
C:\...\Thesis\emi-matlab-master\EMI_Calibration\replace.m
which is shadowing the MATLAB's built-in function named replace(). Rename your function to something else.
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Scope Variables and Generate Names についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!