Supress output in Generalize​dLinearMod​el.stepwis​e

8 ビュー (過去 30 日間)
Francisco
Francisco 2013 年 11 月 6 日
回答済み: Matthew Heberger 2021 年 5 月 4 日
Anyone knows how to suppress output to command window while running GeneralizedLinearModel.stepwise? The semicolon is not it, just in case. Thanks

回答 (1 件)

Matthew Heberger
Matthew Heberger 2021 年 5 月 4 日
Add the following to the input: 'Verbose', 0. For example:
% Load some example data provided by Matlab
load hald;
% Run the stepwise model, specifying NO output to the Command Window
mdl = stepwiselm(ingredients, heat, 'Verbose', 0);
% Display the model coefficients.
mdl.Coefficients;

カテゴリ

Help Center および File ExchangeSpecialized Power Systems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by