0

我是matlab的新手。每次我尝试使用 cftool 时,都会出现以下错误

Error using iLicenseCheck (line 228)
The function SFTOOL requires Curve Fitting Toolbox.

Error in C:\Program\Files\MATLAB\R2012a\toolbox\curvefit\cftoolgui\private\sftool_v1.p>sftool_v1 (line 40)

Error in cftool (line 148)
   theApplication = sftool_v1( varargin, names);

如果我尝试使用 sftool,则会出现以下错误

Warning: SFTOOL will be removed in a future release. Use CFTOOL instead.
> In sftool at 34
Error using iLicenseCheck (line 228) 
The function SFTOOL requires Curve Fitting Toolbox.

Error in C:\Program\Files\MATLAB\R2012a\toolbox\curvefit\cftoolgui\private\sftool_v1.p>sftool_v1 (line 40)

Error in sftool (line 49)
h = sftool_v1(varargin, names);

我正在使用它我的 uni 计算机,所以我怀疑它是任何许可证问题。我需要这个紧急工作,任何帮助将不胜感激。

4

1 回答 1

1

It is a license issue. You obviously have Curve Fitting Toolbox installed, otherwise it would give you a different error that it didn't know what the commands cftool or sftool were.

To test if you are licensed for Curve Fitting Toolbox, type

>> license('test', 'curve_fitting_toolbox')

This will confirm whether you are licensed for the product.

If you're using a concurrent university license, even if you are licensed for Curve Fitting Toolbox, it's possible that you may not be able to check out a license (for example the license may have expired, or all the licenses may be checked out). You may need to talk to your license administrator to determine that.

Don't worry about the warning you get about sftool and cftool - over the last few versions they have introduced a new, separate sftool in addition to the old cftool, and then they redesigned it to combine the tools, but you could start that up using either command. Now they're just warning you that in a future version, the combined tool will be started only with the command cftool, and sftool will be removed.

于 2013-10-01T09:23:28.653 回答