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 ビュー (過去 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!