- Open your Simulink model and navigate to the 'EuroNCAP_PedAEB' subsystem or block that contains the 'CarSim S-Function' block.
- Double-click on the 'CarSim S-Function' block to open its parameters dialog box.
- Look for a parameter or setting related to solver configuration or export command. It could be named 'Solver', 'Solver Configuration', 'Export Command', or similar.
- Check the value specified for this parameter. Ensure that it follows the correct syntax and includes a valid name after the EXPORT command. In your case, it should not be set as 'PEDDISTDETECT', which seems to be causing the error.
- If you find that the value is incorrect or contains an invalid name, modify it to a valid name.
- Save the changes to the 'CarSim S-Function' block and try running the simulation again.
Error reported by S-function 'vs_sf' in 'EuroNCAP_PedAEB/CarSim S-Function':
78 views (last 30 days)
Show older comments
Hi everyone,
I am having troubles everytime a try to run a simulation in CarSim through simulink + matlab, the diagnosis viewer shows the following script:
- Use vehicle solver: D:\Program Files (x86)\CarSim2021.1_Prog\Programs\solvers\carsim_64.dll
- Error reported by S-function 'vs_sf' in 'EuroNCAP_PedAEB/CarSim S-Function': Failed to start Solver: the command EXPORT was not followed by a valid name; found PEDDISTDETECT.
Anyone knows what could be the origin of this problem, and if it is a good idea to use the solver suggested ?
I will apreciate all your comments.
0 Comments
Answers (1)
Ninad
on 29 Sep 2023
Hi Roberto,
The error message you are encountering suggests an issue with the “CarSim” solver configuration in Simulink. As per my understanding, it seems that the solver is unable to start due to an invalid name specified after the “EXPORT” command.
To resolve this issue, you can try the following steps:
I hope these steps will help you fix the issue.
Thanks,
Ninad.
0 Comments
See Also
Categories
Find more on Simulink Coder 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!