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 ? ?
2 次查看(过去 30 天)
显示 更早的评论
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
回答(1 个)
Mike Sasena
2020-8-17
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!