Matlab是国际上使用最为广泛的科学与工程计算软件工具。与VC等其他编程语言相比,Matlab的GUI(Graphics User Interface,图形用户接口)设计同样采用了面向对象的技术,但Matlab具有强大、丰富的内置函数和工具箱,界面设计时更加简洁、快...Matlab是国际上使用最为广泛的科学与工程计算软件工具。与VC等其他编程语言相比,Matlab的GUI(Graphics User Interface,图形用户接口)设计同样采用了面向对象的技术,但Matlab具有强大、丰富的内置函数和工具箱,界面设计时更加简洁、快捷与直观。在简要介绍扫雷游戏核心算法的基础上,给出一种基于Matlab GUI的能安装且能独立运行的扫雷游戏的设计与实现方法,并在Matlab 7.1和Windows XP SP2操作系统下成功实现,经过实验测试,结果正确,各项功能达到游戏要求。该实现方法对其他基于Matlab的游戏开发起到抛砖引玉的作用,同时对各专业人员借助Matlab语言快速开发出具备强大计算功能的专业应用软件具有重要的意义。展开更多
This paper discusses the design concept and method about window based and object oriented Graphic User Interface(GUI),and describes the definition of each class in detail. It is developed with Watcom C ++ in...This paper discusses the design concept and method about window based and object oriented Graphic User Interface(GUI),and describes the definition of each class in detail. It is developed with Watcom C ++ in DOS environment.The GUI can be redeveloped conveniently and effectively by users.It consists of window,popup menu,icon,button and other components.展开更多
文摘Matlab是国际上使用最为广泛的科学与工程计算软件工具。与VC等其他编程语言相比,Matlab的GUI(Graphics User Interface,图形用户接口)设计同样采用了面向对象的技术,但Matlab具有强大、丰富的内置函数和工具箱,界面设计时更加简洁、快捷与直观。在简要介绍扫雷游戏核心算法的基础上,给出一种基于Matlab GUI的能安装且能独立运行的扫雷游戏的设计与实现方法,并在Matlab 7.1和Windows XP SP2操作系统下成功实现,经过实验测试,结果正确,各项功能达到游戏要求。该实现方法对其他基于Matlab的游戏开发起到抛砖引玉的作用,同时对各专业人员借助Matlab语言快速开发出具备强大计算功能的专业应用软件具有重要的意义。
文摘This paper discusses the design concept and method about window based and object oriented Graphic User Interface(GUI),and describes the definition of each class in detail. It is developed with Watcom C ++ in DOS environment.The GUI can be redeveloped conveniently and effectively by users.It consists of window,popup menu,icon,button and other components.