Skip to content

Commit 72e7d0c

Browse files
committed
Added a warning to strfind, to note that it is not supported for MappedTensors
1 parent 6838ce5 commit 72e7d0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MappedTensor.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,8 @@ function delete(mtVar)
759759

760760
% strfind - METHOD Overloaded strfind function
761761
function [nLoc] = strfind(mtVar, varargin) %#ok<INUSD>
762+
warning('MappedTensor:Unsupported', ...
763+
'--- MappedTensor/strfind: Warning: strfind is not supported.');
762764
nLoc =[];
763765
end
764766

0 commit comments

Comments
 (0)