How to fix this crazy error?

40 views (last 30 days)
bethel o
bethel o on 26 Oct 2016
Answered: Arkadiy Turevskiy on 12 Dec 2016
I am getting the following error after trying to tune a model. It is crazy I cannot even run the model anymore because this error keeps popping up. Can anyone help me from going crazy myself?
Error: "The element 1 in SCDPotentialLinearizationIOs structure is not referring to an existing block in the model"
I was using Simulink Control design (SCD) and I had external hardware in the model controlled with a PID. I was using SCD to tune the PID but it won't work because it say there is no feedback-loop detected. Obviously there was a feedback-loop but it was on the external hardware. Given that feedback was not detected, I decided to 'computer operating points' and that was how the error started. The bad thing is that the error could not go away even after I have closed SCD and it does not seem to come from any particular block.
  2 Comments
Swarooph
Swarooph on 26 Oct 2016
Is it possible to share the model? Seems like you are trying to 'tune' a model with IOs that don't exist anymore.. Also, tell us what you mean by 'tuning'. What tool/workflow are you referring to when you are tuning your model?
bethel o
bethel o on 26 Oct 2016
@Swarooph question updated now

Sign in to comment.

Answers (1)

Arkadiy Turevskiy
Arkadiy Turevskiy on 12 Dec 2016
Hi, Simulink Control Design is not intended for tuning PID Controller when you model is in external mode, controlling the hardware.

Community Treasure Hunt

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

Start Hunting!