I have my answer! In the Complier app window, I went to Settings and on the 'Toolboxes On Path' tab I found that seven toolboxs were listed as being part of the project (I never set these, however). I unchecked all except for the Stats toolbox (which I needed) and then the compiler ran without trying to look for a license to the Curve Fitting toolbox. Problem solved. My thanks to those that may have expended energy in their grey cells trying to figure this out!
Why is Compiler looking for a Curve Fitting Toolbox license when my code doesn't require it?
4 ビュー (過去 30 日間)
古いコメントを表示
I'm running the Compiler App and it crashes with an error that says:
Error using iLicenseCheck (line 232)
The function SFTOOL requires Curve Fitting Toolbox.
License checkout failed.
License Manager Error -4
Maximum number of users for Curve_Fitting_Toolbox reached.
Now, I know that our site license only allows one instance of the Curve Fitting Toolbox to be used at a time, BUT nowhere in my script do I call SFTOOL. The only fitting I do is with LinearModel.fit and that resides in the Statistics Toolbox. I call it with:
mdl=LinearModel.fit(uppercomp,tendata);
I've looked at the code for LinearModel.fit (using "edit LinearModel.fit") and nowhere in that is SFTOOL called. Can anyone shed light on what's happening?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!