help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error invalid concatenation of cell array with matrix


From: syed khalid
Subject: Error invalid concatenation of cell array with matrix
Date: Thu, 2 Jan 2014 07:27:46 -1000

I am getting the above error where executing the line with ---->>
Is there a workaround or fix....

if ~exist('ignore_dirs', 'var')
    ignore_dirs = {};
end
--->>> ignore_dirs_full = cat(2,{'.','..'},ignore_dirs);
  dirData  = dir('/home/syedk/OCT/LIDC');      %# Get the data for the current directory
  dirIndex = [dirData.isdir];   %# Find the index for directories
  fileList = {dirData(~dirIndex).name}';  %# Get a list of the files



--
Syed Khalid
 

 
1-408-655-1096

reply via email to

[Prev in Thread] Current Thread [Next in Thread]