what is that problem? "Optimization running. Error running optimization. Undefined function 'power' for input arguments of type 'timeseries'"
1 回表示 (過去 30 日間)
古いコメントを表示
how can I solve this problem
Optimization running. Error running optimization. Undefined function 'power' for input arguments of type 'timeseries'
I am using matlab R2016a, using genetic algorithm to get the minimum values for PID controller in a switched reluctance motor. please anyone can help tell me how to solve this problem? thanks
0 件のコメント
採用された回答
Walter Roberson
2016 年 8 月 9 日
Consider for example,
a = timeseries(1:10);
a .^ 2
then that would generate that error, because you are trying to square the timeseries object.
Possibly you want to square the data in the object:
a.Data .^ 2
2 件のコメント
Walter Roberson
2016 年 8 月 9 日
What is tout? What is spo? Are those created by "To Workspace" blocks in your simulation ?
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Specialized Power Systems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!