Mercurial > hg > plml
view matlab/db/typecode.m @ 25:de95213cdcc2
swiplml now sets DYLD_FALLBACK_LIBRARY_PATH based on output of matlab -e
author | samer |
---|---|
date | Wed, 22 Feb 2012 21:36:34 +0000 |
parents | 0dd31a8c66bd |
children |
line wrap: on
line source
% typecode - Return basic typing information about a value % % typecode :: A -> natural ~'number of elements', bool ~'is numeric', bool ~'is char'. function [n,isnum,isch]=typecodes(X) n=numel(X); isnum=isnumeric(X); isch=ischar(X); %tp=class(X);