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!