Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/sql-server-2008/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Octave 禁用倍频程中的文件相关警告_Octave - Fatal编程技术网

Octave 禁用倍频程中的文件相关警告

Octave 禁用倍频程中的文件相关警告,octave,Octave,我正在运行一个倍频程代码,其中包括读取多个文件并执行一些操作,但每次读取新文件时,都会显示此警告。当代码读取大量文件时,发生警告的次数相同 warning: fopen: 'C:\Users\Admin\Desktop\spam\easy_ham\00001.7c53336b37003a9286aba55d2945844c' found by searching load path warning: called from readFile at line 8 column 5

我正在运行一个倍频程代码,其中包括读取多个文件并执行一些操作,但每次读取新文件时,都会显示此警告。当代码读取大量文件时,发生警告的次数相同

warning: fopen: 'C:\Users\Admin\Desktop\spam\easy_ham\00001.7c53336b37003a9286aba55d2945844c' found by searching load path
warning: called from
    readFile at line 8 column 5
    CreateDataset at line 10 column 27
    combineDataset at line 6 column 18
warning: fopen: 'C:\Users\Admin\Desktop\spam\easy_ham\00002.9c4069e25e1ef370c078db7ee85ff9ac' found by searching load path
warning: called from
    readFile at line 8 column 5
    CreateDataset at line 10 column 27
    combineDataset at line 6 column 18
warning: fopen: 'C:\Users\Admin\Desktop\spam\easy_ham\00003.860e3c3cee1b42ead714c5c874fe25f7' found by searching load path
warning: called from
    readFile at line 8 column 5
    CreateDataset at line 10 column 27
    combineDataset at line 6 column 18
我已尝试使用以下命令抑制警告:

warning ("off", "Octave:load-file-in-path");
warning ("off", "Octave:fopen-file-in-path");

并尝试重新启动倍频程终端,但没有改变。警告不断重复出现。

您要查找的警告id是路径中的
倍频程:数据文件。您可以使用
帮助警告\u id
获取整个警告列表,也可以在警告后运行
lastwarn
以查找其id