how to deal with a complicated simulink model to perform linear analysis?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classical Control Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!