How can I resolve the "incorrect size of expression 'xpoff': expected [:?x1] but found [1x0]." error for designing MPC using the MPC toolbox in Simulink?
3 views (last 30 days)
Show older comments
When I connect Tdot to mo and connect mv to T, I can get MPC results.
However, when I connect P to mo and connect mv to Tset or connect m to mo and connect mv to m, I get the "incorrect size of expression 'xpoff': expected [:?x1] but found [1x0]." error
Any ideas?
1 Comment
Answers (1)
See Also
Categories
Find more on Model Predictive Control Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!