MATLAB: Do I receive an error when trying to linearize a model with inport block of non-double datatype as the input point in Simulink Control Design

analysiscomplexcontroldesignlinearlinearizenon-doubleSimulink Control Design

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.

Best Answer

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.