How Can I correct the Error of Windows version compatibility, When running a simulink model for a project ? ?

2 visualizzazioni (ultimi 30 giorni)
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

Risposte (1)

Mike Sasena
Mike Sasena il 17 Ago 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.

Categorie

Scopri di più su Programmatic Model Editing in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by