一个简单的MVC模式的 matlab GUI 面向对象编程范例
主程序clcclear close allmodelObj = Model(500);viewObj = View(modelObj);M(model)类classdef Model < handle properties balance end events balanceChanged end methods function obj = Model(balance