Model predictive control toolbox implementation on dSpace board
显示 更早的评论
Hi all.
I am trying to implement an MPC controller on a dSpace board. I set up the model in Simulink, but when I try to build the program, it gets past the process of linking it, but then it fails to make due to an error: ds1005 - RTI: Simstruct error: Parameter number mismatch (501).
When I use a PID controller the the make function succeeds and the code is loaded onto the dspace board.
Any help in resolving this problem would be greatly appreciated.
C.
回答(1 个)
Fangjun Jiang
2011-8-16
0 个投票
It's more of a dSPACE question. Contact dSPACE tech support asking about that error: Parameter number mismatch (501).
Might it be possible that your MPC controller is too large to fit in, considered that you've gone through the process for a PID controller?
类别
在 帮助中心 和 File Exchange 中查找有关 Refinement 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!