Changeset 3569 for issm/trunk/src/m/utils/Array/item2str.m
- Timestamp:
- 04/19/10 14:26:25 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/utils/Array/item2str.m
r33 r3569 17 17 svec=num2str(a); 18 18 else 19 warning('item2str:item_unrecog',... 20 'Item ''%s'' is of unrecognized type ''%s''.',... 21 inputname(1),class(a)); 19 if ~isempty(inputname(1)) 20 warning('item2str:item_unrecog',... 21 'Item ''%s'' is of unrecognized type ''%s''.',... 22 inputname(1),class(a)); 23 else 24 warning('item2str:item_unrecog',... 25 'Item %d is of unrecognized type ''%s''.',... 26 1,class(a)); 27 end 22 28 return 23 29 end
Note:
See TracChangeset
for help on using the changeset viewer.