Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
MPC Controller Block in Simulink gives error message 'MPC Block is empty. Open the MPC designer to create an MPC controller.'

Subject: MPC Controller Block in Simulink gives error message 'MPC Block is empty. Open the MPC designer to create an MPC controller.'

From: Stefan

Date: 20 Oct, 2010 10:58:04

Message: 1 of 2

Hi there,

I developed a MPC controller in Matlab and tried to use the MPC controller block in Simulink with the very same controller that resides in the work space.
Anyhow the error 'MPC Block is empty. Open the MPC designer to create an MPC controller.' occurs.
I'm using Matlab 2007b.

I couldn'T find an explanation in the web. Any suggestions?

Regards,
Stefan

Subject: MPC Controller Block in Simulink gives error message 'MPC Block is empty. Open the MPC designer to create an MPC controller.'

From: Arkadiy Turevskiy

Date: 20 Oct, 2010 16:58:03

Message: 2 of 2

"Stefan" <gonseaw@yahoo.com> wrote in message <i9mhvs$ktc$1@fred.mathworks.com>...
> Hi there,
>
> I developed a MPC controller in Matlab and tried to use the MPC controller block in Simulink with the very same controller that resides in the work space.
> Anyhow the error 'MPC Block is empty. Open the MPC designer to create an MPC controller.' occurs.
> I'm using Matlab 2007b.
>
> I couldn'T find an explanation in the web. Any suggestions?
>
> Regards,
> Stefan

Does the Simulink model have the same number of input and outputs to the MPC Controller block as your MATLAB MPC object expects? Did you enter object name in block dialogue?

Arkadiy

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us