NNPC error - S-function block 'untitled/NN Predictive Controller/S-Function' references obsolete level-1 MATLAB S-function 'predopt'.
显示 更早的评论
Hello
I am working with NNPC block in Simulink with my plant model designed as a physical model of Ohmic heater using the Simscape library. The inputs to the NNPC for 'Plant Identification' step is Voltage (input) and Temperature (output). After the training of the NN, I enter the necessary values for the controller. The controller block gives me this error:
"Warning:S-function block 'untitled/NN Predictive Controller/S-Function' references obsolete level-1 MATLAB S-function 'predopt'. Manually review the code and convert to level-2 MATLAB S-function if necessary. For more information, see Convert Level-1 MATLAB S-Functions to Level-2."

Can anyone please help me how to remove this error. Any insights on this issue will be highly appreciated.
Thanking in anticipation.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Block and Blockset Authoring 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!