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版本是與本機匹配的
2、Carsim中車輛模型的輸入、輸出重新選擇一遍,重新生產Parsfile文件
Export Channels按照Import Channels同樣操作一遍
此時,再執行Send to Simulink,就不會報錯了