Functions | |
if (strcmp(clx,"int8")||strcmp(clx,"uint8")||isempty(x)) y | |
else | if (strcmp(clx,"int16")||strcmp(clx,"uint16")) nb |
elseif (strcmp(clx,"int32")||strcmp(clx,"uint32")) nb | |
elseif (strcmp(clx,"int64")||strcmp(clx,"uint64")||strcmp(clx,"double")) nb | |
else | error ("swapbytes: invalid class of object") |
Variables | |
function | y |
endif | clx = class (x) |
else error | ( | "swapbytes: invalid class of object" | ) |
endif y |
Initial value:
swapbytes (x) if (nargin != 1) print_usage ()