abs error...(using ga pid tuning)
显示 更早的评论
回答(2 个)
Walter Roberson
2013-10-14
1 个投票
Don't pass a structure to abs()
That's about all we can say unless you give us more context.
The debugger is the right tool to investigate such problems. Try a dbstop if error in Matlab's command window (does this work under Simulink also?) and run the program again. Then Matlab stops, when the error occurs and you can inspect the local variables.
类别
在 帮助中心 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
