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

1 visualización (últimos 30 días)
Imran
Imran el 16 de Jul. de 2023
Respondida: Supraja el 26 de Jul. de 2023
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

Respuestas (1)

Supraja
Supraja el 26 de Jul. de 2023
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

Categorías

Más información sobre Model, Block, and Port Callbacks en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by