Matlab/Carsim solver DLL not found, invalid port dimensions
13 views (last 30 days)
Show older comments
I'm using Matlab R2013a and CarSim 8.02. And trying to run data of wheel drive torques. But there has a problem.
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.
I've tried Use 64-bit Matlab but it doesn't change anything.
How can I solve this problem?
4 Comments
Bangalore
on 26 Jan 2024
Yes, I had the same issue. In carsim we need to choose between 32 bit/64bit matlab installaltion before generating the simfie. My specfic issue was "Wrong vehicle solver version DLL". Finally the issue was resolved.
Answers (1)
Subrat Kumar Swain
on 11 Oct 2019
Hi,
I also faced the same problem earlier. It depends on which version of Matlab you are right now having. Please check if Matlab R2013a is 32 bit or 64 bit version. If it is a 32 bit version, then you need to point this option under the Simulink Models windows present in the 'Run Control with Simulink' tab. There you need to change 'Use 32 bit Matlab' and after that you need to point the vehicle library file 'i_i.dll' present under the Default folder in your CarSIM directory in the simfile. Simfile is the executable file containing the vehicle path which carsim will explore under the Matlab Simulink environment. This Simfile is present under the Extensions folder of the CarSim working directory.
Hope this will solve your problem. Good luck !!!
2 Comments
Pacifique Turabimana
on 27 Dec 2021
Can you help me how I can add CarSim S-Function in my MATLAB Simulink library?
I am using CarSim and I want to combine with simlink but according to the guides I have CarSim S-Function is required in my Simlink library and I can't find it there.
Syed Adil Ahmed
on 15 Jul 2022
Did you find the solution for this ? Can you please detail it. Thanks.
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!