フィルターのクリア

GUI doesn't load LinearModel.fit

2 ビュー (過去 30 日間)
Laurine
Laurine 2013 年 8 月 29 日
I created a GUI which loads some inputdata (Excel) and some Linear fits (M-files), calculates forecasts and with xlswrite writes the output in an Excelfile. My GUI runs great using Matlab, but on a computer without Matlab (for which the GUI is meant), the GUI is not able to load the LinearModel.fit. When compiling the GUI I include the classreg folder and in the GUI M-file I have written %#function LinearModel. And still my GUI will not load the data. The error message I get is:
Warning: While loading an object of class 'classreg.regr.LinearFormula': Undefined variable "internal" or class "internal.stats.PEG"
Can anyone help me with this?

採用された回答

Laurine
Laurine 2013 年 9 月 4 日
Solved! When I add the line: %#function internal.stats.PEG
to my .m-file, the GUI doesn't have warnings or errors and it can predict using the LinearModel.fit!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Algebra についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by