abs error...(using ga pid tuning)

回答 (2 件)

Walter Roberson
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.
Jan
Jan 2013 年 10 月 14 日
編集済み: Jan 2013 年 10 月 14 日

0 投票

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.

カテゴリ

質問済み:

DH
2013 年 10 月 14 日

編集済み:

Jan
2013 年 10 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by