Why do I receive an error when trying to linearize a model with inport block of non-double datatype as my input point in Simulink Control Design?

1 view (last 30 days)
I have a Simulink model which contains an inport block that outputs a non-double datatype. I selected this signal as my linearization input point. When I open the Tools->Control Design->Linear Analysis GUI and press the Linearize model buttion, I receive the following error:
Model 'xpcosc' contains nondouble or complex signals. Cannot set nondouble or complex external inputs. Use Data Type Conversions.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This enhancement has been incorporated in Release 2007b (R2007b). For previous product releases, read below for any possible workarounds:
The ability to handle external inputs (inport blocks) of non-double or complex datatypes is not available with the Simulink Control Design Toolbox.
To work around this issue, use an inport block of double data type and then use a signal-conversion block after the inport block to convert the signal back to the required data type.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!