Mercurial > hg > octave-lyh
view test/@Dork/gack.m @ 9666:a531dec450c4
allow 1D case for sub2ind and ind2sub
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Sun, 27 Sep 2009 11:26:41 +0200 |
parents | f9ab19428cd8 |
children |
line wrap: on
line source
function [ out ] = gack( in, val ) if (nargin==1) out = in.gack; else in.gack = val; out = in; end end