I Tried to change the string in the struct, to match my OS version, but the whole running process, failed
How Can I correct the Error of Windows version compatibility, When running a simulink model for a project ? ?
3 views (last 30 days)
Show older comments
hello,
I tried to run Swept Sine Steering Application project in Vehicule Dynamics toolbox from Matlab version 2020a, but the compilition did not go will. I am using Windows version 10.0.18362.387( 2019 v16.0), but the default version of the project is (2017 v15.0).
So How Can I make the stuff work, without changing the version of my operating system ?
And Thanks for helping me, making the project work will.
I attach the log window and Diagnostic viewer
Answers (1)
Mike Sasena
on 17 Aug 2020
Hi Ouahid,
This isn't a Windows version issue. The second screenshot is showing a difference in your Visual Studio compiler versions. Sometimes the compilers can get confused if it finds some old compiled object code in your working folder. What I recommend you do is the following:
- Open your project with the model you're trying to run
- Delete an slprj folders (these are working folders generated when you compile a model)
- Enter "clear mex" at the MATLAB prompt (this tries to clear memory of old compiled models)
- Click "Ctrl +D" to rebuild your model
If this works, it will generate a new set of compiled code and you should be able to simulate again. if this doesn't work, you might want to try opening a new version of that demo to start fresh.
0 Comments
See Also
Categories
Find more on Programmatic Model Editing 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!