ScaleFactor for Manipulated Variables in MPC

20 views (last 30 days)
Hello,
During the design of the mpc controller, I found that my computer wouldn't let me do the ScaleFactor step: mpcobj.MV.ScaleFactor = Uscale(2);
Is it something special for The version 2014b? I am working on 2014a.Do you have any idea how to solve this problem? I really would like to use the scaling in order to facilitate weight tuning in mpc.
PS: in the structure of mpcobj, I just have Min, Max, MinECR, MaxECR, RateMin, RateMax, RateMinECR, RateMaxECR, Target, Name and Units. No presence of ScaleFactor.
Thanks.

Answers (0)

Community Treasure Hunt

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

Start Hunting!