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)
Show older comments
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
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Linear Prediction in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!