MATLAB: Usage of idmodel in simulink

idmodelsimulinkSystem Identification Toolbox

I would try a model predictive controller in simulink for a 4-input-single-output system, which is described by an idss model. the focus of the model is 100-step prediction. How should I introduce this model into simulink? I found the block of "idmodel" in system identification tool box. But I am not clear of the format of its input and output. Shall I use an iddata as the input or 4 input vectors?

Best Answer

I don't have any experience with the System Identification Toolbox, but after looking at the documentation, it appears that you need to use IDDATA Source/Sink blocks for the input/output of the IDMODEL block. See Building the Simulink Model for more information.
Related Question