Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
W. Feng
W. Feng le 5 Juin 2018
Modifié(e) : W. Feng le 7 Juin 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

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by