how to deal with a complicated simulink model to perform linear analysis?
1 view (last 30 days)
Show older comments
there are a complicated model with tens of subsystem in simulink model. I only want to get the bodeplot to one subsystem. I removed other unrelated block to perform linear analysis, it can get the result. But, now I would like to do the same analysis but in the whole system. But, it didn't work. the problem was happened on sys=linearize(model,io,op), the error is below, how to do solve this.
Expected a value representable in the C type 'int'. Found 2e-05 instead. Error in 'xxxx' (line 103) if ~(CPH_H >= Look_Up_Flag_Pos(CTRL_POT_DI_CMD_FLOOR+1,1) && ... Component:Stateflow | Category:Runtime error
Index exceeds array dimensions. Index value 0 exceeds valid range [1-4] of array Look_Up_Flag_Pos. Error in 'xxxxx' (line 103) Component:Stateflow | Category:Runtime error
0 Comments
Answers (0)
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!