Jelajahi Sumber

Fixed error message

Ioannis Agtzidis 5 tahun lalu
induk
melakukan
4d813277c8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      AddAttArff.m

+ 1 - 1
AddAttArff.m

@@ -23,7 +23,7 @@ function [newData, newAttributes] = AddAttArff(data, attributes, attData, attNam
 	% check if attribute already exists
     for i=1:size(attributes,1)
         if (strcmpi(attributes{i,1}, attName))
-            error(['Attributes "' attName '" already exists in file ' arffFile]);
+            error(['Attributes "' attName '" already exists. Cannot add it.']);
         end
     end