简体   繁体   中英

ScaleFactor Matlab R2014a Mpc Toolbox

I am following the tutorial : http://www.mathworks.com/help/mpc/examples/adaptive-mpc-control-of-nonlinear-chemical-reactor-using-online-model-estimation.html .

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);

field "ScaleFactor" in structure "ManipulatedVariables(1)" is invalid.>>

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.

Yes, it is, see the Release Notes :

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM