comparison scripts/pkg/pkg.m @ 8043:30d15ab0ce01

avoid problematic subfunction call in an anonymous function
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 20 Aug 2008 11:01:24 -0400
parents ca9bfe159144
children 9ba45b125ee8
comparison
equal deleted inserted replaced
8042:827d4f24ec6c 8043:30d15ab0ce01
1300 1300
1301 ## Split into architecture dependent and independent files 1301 ## Split into architecture dependent and independent files
1302 if (isempty (filenames)) 1302 if (isempty (filenames))
1303 idx = []; 1303 idx = [];
1304 else 1304 else
1305 idx = cellfun (@(x) is_architecture_dependent (x), filenames); 1305 idx = cellfun (@is_architecture_dependent, filenames);
1306 endif 1306 endif
1307 archdependent = filenames (idx); 1307 archdependent = filenames (idx);
1308 archindependent = filenames (!idx); 1308 archindependent = filenames (!idx);
1309 1309
1310 ## Copy the files 1310 ## Copy the files