⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changeicon.m

📁 change matlab figure s icon,可以改变图的icon
💻 M
字号:
% function changeicon(h,filename)
%CHANGEICON changes the figure icon.
%   CHANGEICON(H,FILENAME) changes the icon of a figure to an image specified by
%   the string FILENAME, where H is a handle to the figure. If the file is not
%   in the current directory or in a directory in the MATLAB path,specify the
%   full pathname of the location on your system. If FILENAME is not a valid 
%   image file name, the function just removes the previous icon of the figure.
%
%  Example:
%         h = figure;         
%         changeicon(h,'newIcon.png'); % replace 'newIcon.png' with your image

%
% IMPORTANT NOTES:
%      REPLACING THE MATLAB GUI ICON VIOLATES THE LICENSE AGREEMENT
% OF MATLAB. DO NOT USE THIS FUNCTION COMMERCIALLY.
%
%   Han Qun, Sept. 2005
%   Copyright 2005-2006 Han Qun
%   College of Precision Instrument and Opto-Electronics Engineering,
%   Tianjin University, 300072, P.R.China.
%   Email: junziyang@126.com
%   $Revision: 1.0 $  $Date: 2005/12/2 $

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -