フィルターのクリア

Problem arises during the use of statistics and machine learning tool box

1 回表示 (過去 30 日間)
Imran
Imran 2023 年 7 月 16 日
回答済み: Supraja 2023 年 7 月 26 日
I am using statistics and machine learning tool box but for each block this statement I am getting.how to resolve this issue like variable doesn't exist
  1 件のコメント
the cyclist
the cyclist 2023 年 7 月 16 日
Please read this guide about how to ask a good question, and edit your question to improve it.

サインインしてコメントする。

回答 (1 件)

Supraja
Supraja 2023 年 7 月 26 日
You can use the Initialization function to initialize parameters and environment settings that are specific to the model. You can initialize all the variables used in the model parameters.
You can follow the below steps to initialize variables:
  1. On Modelling tab, click “Model Settings” arrow
  2. Then select Model Properties.
  3. In the Model Properties dialog box, the model InitFcn callback is on the Callbacks tab
Here is the documentation link for the “Initialization function”: https://www.mathworks.com/help/simulink/ug/initialization-function.html

カテゴリ

Help Center および File ExchangeModel, Block, and Port Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by