Virtual Vehicle Builder Error: OpenLoopBraking Failed OpenLoopBr​aking_msf.​mexw64 does not exist.

5 views (last 30 days)
I have been trying to use the Virtual Vehicle Builder to simulate Formula Student cars but I keep getting this error at the run stage after exporting the project to simulink. The full error is below:
Simulation targets built:
Model Action Rebuild Reason
=====================================================================
OpenLoopBraking Failed OpenLoopBraking_msf.mexw64 does not exist.
0 of 2 models built (0 models already up to date)
Build duration: 0h 0m 10.912s
Error:Unable to update models referenced by 'ConfiguredVirtualVehicleModel'.
Caused by:
Error(s) encountered while building "OpenLoopBraking_msf"
I have reverting to just trying to run the example project without changing any paramaters but get the same error no matter what. I have completely deleted and remade the project file multiple times with the same result. With the dependency manager matlab reports that all the files are present although when I search on my drive OpenLoopBraking_msf isnt present.
I'm quite stuck this is my first time playing with the Virtual Vehicle Builder and it has a lot of blocks I'm not familiar with so I dont really know where to start troubleshooting.

Answers (1)

Darshan Pandit
Darshan Pandit on 11 Aug 2023
hi cole,
This appears like a compiler issue. The Virtual Vehicle reference application uses model references and this requires supported compiler to work.
You may install a supported compiler from the link below:
You may also check installed compiler by typing the following at your MATLAB command window:
mex -setup
If the problem persists, please feel free to contact us with more details (OS, System Info, Complier version, etc) so our team can help you out.
Have a good day.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!