我在用simulink仿真时提示有两个错误,您可以看下么?Error using ==> rtwgenAlgebraic loops are not supported in generated code.Use the 'ashow' command in the Simulink Debugger to see the algebraic loops.Error building Real-Time Workshop

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 21:21:51
我在用simulink仿真时提示有两个错误,您可以看下么?Error using ==> rtwgenAlgebraic loops are not supported in generated code.Use the 'ashow' command in the Simulink Debugger to see the algebraic loops.Error building Real-Time Workshop

我在用simulink仿真时提示有两个错误,您可以看下么?Error using ==> rtwgenAlgebraic loops are not supported in generated code.Use the 'ashow' command in the Simulink Debugger to see the algebraic loops.Error building Real-Time Workshop
我在用simulink仿真时提示有两个错误,您可以看下么?
Error using ==> rtwgen
Algebraic loops are not supported in generated code.Use the 'ashow' command in the Simulink Debugger to see the algebraic loops.
Error building Real-Time Workshop target for block diagram 'weijiaozheng'.MATLAB error message:
Error using ==> slbuild
Error using ==> rtwgen
Algebraic loops are not supported in generated code.Use the 'ashow' command in the Simulink Debugger to see the algebraic loops.

我在用simulink仿真时提示有两个错误,您可以看下么?Error using ==> rtwgenAlgebraic loops are not supported in generated code.Use the 'ashow' command in the Simulink Debugger to see the algebraic loops.Error building Real-Time Workshop
是不是用RTW生成代码了?能不能说的更具体一点?
可以反馈支路上,加一个延时环节(1/z)试一下?

你用实时代码生成(RTW)编译工具,但是模型中有代数环,就是纯代数方程,需要事先求解或者迭代求解的方程(组),必须检查修改清除后,才能编译用作实时仿真。