www.gusucode.com > matlabxl 工具箱 matlab 源码程序 > matlabxl/setClassName.m
function setClassName(name) % setClassName sets the class name of an Excel Addin-In Deploytool project % % setClassName is a utility for MATLAB Builder EX. This utility % sets the class name of the Excel Add-In project that is % currently opened in Deploytool. It errors out if the project opened % in Deploytoo is not Excel Add-in target. % % % SYNTAX: % setClassName() % % USAGE: % setClassName() % sets the class name of an Excel Addin-In Deploytool project % % % % % Copyright 2010-2013, The MathWorks, Inc. % fws=com.mathworks.toolbox.compiler.services.FunctionWizardService.getInstance(); fws.renameExcelClass(name); end