We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7725f45 commit ce3d92aCopy full SHA for ce3d92a
+nix/Utils.m
@@ -81,6 +81,25 @@
81
retObj = objConstructor(handle);
82
end;
83
84
+
85
+ % -----------------------------------------------------------
86
+ % nix.Filter helper functions
87
88
89
+ function err = valid_filter(filter, val)
90
+ err = '';
91
+ if (~isa(filter, 'nix.Filter'))
92
+ err = 'Valid nix.Filter required';
93
+ return
94
+ end
95
96
+ % Currently matlab will crash, if anything other than
97
+ % a cell array is handed over to a nix.Filter.ids.
98
+ if (filter == nix.Filter.ids && ~iscell(val))
99
+ err = 'nix.Filter.ids requires a cell array';
100
101
102
103
104
105
end
0 commit comments