Skip to content

王老师,请教个问题,仿真报错:Index value 719 exceeds valid range [1-166] for array 'kappar'. #5

@LeBronUltraman

Description

@LeBronUltraman

我用自己看您视频搭建的模型仿真,和下载您的模型,运行后都是同样的错误,不知道怎么调试,我在工作空间中查看kappar的值,就是1-167个值,没有看到这个719的索引,麻烦您帮忙看下,这个是报错信息:
An error occurred while running the simulation and the simulation was terminated
Caused by:
Index exceeds array dimensions. Index value 719 exceeds valid range [1-166] for array 'kappar'.
Error in 'ControlModel/Subsystem/err kappa Calculation module' (line 21)
projection_point_thetar = thetar(dmin) + kappar(dmin)*es;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions