view test/@Snork/Snork.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 [ s ] = Snork( gick )
% Test class.

  if ( (nargin==1) && (isa(gick, 'Snork')) )
    s = gick;
  else
    s.cack = [0 1 2 3];
    if nargin==0
      s.gick = 1;
    else
      s.gick = gick;
    end
    s = class(s, 'Snork');

  end
        
end