Problem arises during the use of statistics and machine learning tool box
조회 수: 1 (최근 30일)
이전 댓글 표시
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개)
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:
- On Modelling tab, click “Model Settings” arrow
- Then select “Model Properties”.
- 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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!