2012-07-06から1日間の記事一覧

Matlabで簡単なオブジェクト指向

数を数えるクラスの実装。 classdef testclass1 < handle % handle class (<-> value class). When the instance x1 % is assigned to variable x2 (i.e. x2 = x1), reference to % x1 will be given instead of copy of x1. properties (SetAccess = privat…