联合仿真问题
求问联合仿真跑到2s的时候就停下是为什么?simplorer中的信息如下:
Info - Simulation stopped by user.
>> Calculate at t=2 s
matlab的报错信息入下:
错误: S-Function 'AnsoftSFunction' 报告错误:
Error Synchronizing with Simplorer: Sample time for Simulink blocks must be less than simulation end time in fixed step mode;
这两个仿真采样时间不能一样,simplorer的时间要大于Matlab,比如M采1e-5,s采1e-5,仿真只能进行2s,s采改为2e-5,仿真可以进行到4s,以此类推:s采/M采×2=仿真可进行时间
页:
[1]
