「 Malab&Simulink 」X0 returned by MATLAB S-function ‘NLSEF‘ in ‘ADRC_NN/S-Function1‘ must be a vector

一.前言

小白在做仿真时,遇到这个问题:

X0 returned by MATLAB S-function ‘NLSEF‘ in ‘ADRC_NN/S-Function1‘ must be a vector of length 3

二.错误原因

状态变量初始化设置错误:长度。

三.解决方法

X0是初始化阶段,两条红线要一致即可。

亲测有效。

猜你喜欢

转载自blog.csdn.net/Robot_Starscream/article/details/107051714