view test/@Snork/get.m @ 9771:4634a0e9ea1b

gnuplot_drawnow.m (gnuplot_default_term): don't set term to x11 unless DISPLAY is set
author Stefan Hepp <stefan@stefant.org>
date Mon, 02 Nov 2009 21:34:04 -0500
parents f9ab19428cd8
children
line wrap: on
line source

function [ v ] = get( s, propName )

    switch propName
        case 'gick'
            v = s.gick;
        otherwise
            error([propName, ' is not a valid Snork property']);
    end

end