Trying to simulate NLARX model in Simulink throws an error

11 ビュー (過去 30 日間)
Christian Cruvinel França
Christian Cruvinel França 2022 年 6 月 3 日
回答済み: Rajiv Singh 2022 年 6 月 9 日
I'm trying to use a NLARX model (NL3 below) i constructed inside matlab using the system identification toolbox and the train_id iddata object. I copied the simulation template from the example in this source: https://www.mathworks.com/help/ident/ug/simulating-identified-model-output-in-simulink.html#mw_0e864f8b-d79e-49f5-b8b4-685762bccc6e
I keep getting the error:
Failed to evaluate mask initialization commands.
> Caused by: Output argument "PortNo" (and possibly others) not assigned a value in the execution with "idslmodels.nlarx.addCustomRegressors" function.
whenever i try to run a single simulation and i don't know what i'm doing wrong. The model use the past 60 inputs to produce an output and i'm using a vector of 60 values as an initial condition.
Can anyone please help me? Thanks!

回答 (1 件)

Rajiv Singh
Rajiv Singh 2022 年 6 月 9 日
This appears to be a bug. Please reach out to technical support or use the "Report a bug" link on Bugs Existing in R2022a | Bug Reports (mathworks.com).
What release of MATLAB are you using?

カテゴリ

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

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by