how to deal with a complicated simulink model to perform linear analysis?

2 Ansichten (letzte 30 Tage)
W. Feng
W. Feng am 5 Jun. 2018
Bearbeitet: W. Feng am 7 Jun. 2018
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

Antworten (0)

Kategorien

Mehr zu Linearization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by