A run cannot be made because there is no vehicle solver DLL file in the simfile.

MATLAB与Carsim联合仿真时,出现下面错误:

1、Matlab/Carsim solver DLL not found, invalid port dimensions

2、A run cannot be made because there is no vehicle solver DLL file in the simfile. If you do have a solver DLL file, you need to specify its location on the Model screen.

解决步骤:

1、确认Carsim中选择的Matlab版本是与本机匹配的

A run cannot be made because there is no vehicle solver DLL file in the simfile._第1张图片

2、Carsim中车辆模型的输入、输出重新选择一遍,重新生产Parsfile文件

A run cannot be made because there is no vehicle solver DLL file in the simfile._第2张图片

A run cannot be made because there is no vehicle solver DLL file in the simfile._第3张图片

A run cannot be made because there is no vehicle solver DLL file in the simfile._第4张图片

Export Channels按照Import Channels同样操作一遍

此时,再执行Send to Simulink,就不会报错了

 

 

 

你可能感兴趣的:(MALTAB,Carsim,联合仿真)