Fatal error running reference example Double Lane Change Maneuver after adding a scope to the model
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using latest R2020a and trying to run the reference model "Double Lane Change Maneuver"( https://www.mathworks.com/help/vdynblks/ug/double-lane-change-maneuver.html ) with a slight change: adding a scope within "DLCReferenceApplication/Passenger Vehicle/Body, Suspension, Wheels/PassVeh14DOF (PassVeh14DOF)/Wheel Routing" to understand some of the signals, not modifying any meaningful signals. But once I clicked run button, this following two errors showed up:
![2 Error Messages](https://www.mathworks.com/matlabcentral/answers/uploaded_files/359392/2%20Error%20Messages.png)
Looks like some Visual Studio 2017 Command prompt was called and then some files were missing. I did install Visual Studio 2017 in this computer a while ago and its still there, but could it be interfering with MATLAB so much that it stopped the Simulink model? Not an expert in this and appreciate some help.
Files mentioned in the error message:
[vcvarsall.bat]
rtwshared.mk(138)
'\rtw\c\tools\vctools.mak'
0 Kommentare
Antworten (1)
Ryan Chladny
am 15 Okt. 2021
Hi Tong,
Please let me know if this is still an open issue for you and I can escalate with our Technical Support Team as it looks like an install or environment issue which would be more efficient to troubleshoot directly with.
Best regards,
Ryan
1 Kommentar
xiaolu bian
am 26 Nov. 2021
HI Ryan,
I have the same problem. Can you help me?The following error occurred when I converted my model into a DLL file.
Using Microsoft Windows SDK for Visual Studio 2010
G:\MATLAB_veristand\project7\five_singal_niVeriStand_rtw>cd /d G:\MATLAB_veristand\project7\five_singal_niVeriStand_rtw\
G:\MATLAB_veristand\project7\five_singal_niVeriStand_rtw>nmake -f five_singal.mk MATLAB_ROOT= ALT_MATLAB_ROOT= MATLAB_BIN= ALT_MATLAB_BIN= ISPROTECTINGMODEL=NOTPROTECTING EXT_MODE=0 EXTMODE_STATIC_ALLOC=0 TMW_EXTMODE_TESTING=0 EXTMODE_STATIC_ALLOC_SIZE=1000000 EXTMODE_TRANSPORT=0 MAT_FILE=1 NIDEBUG=0 NIOPT="Default" OPTS="" /I
five_singal.mk(139) : fatal error U1052: file '\rtw\c\tools\vctools.mak' no found.
Stop.
G:\MATLAB_veristand\project7\five_singal_niVeriStand_rtw>echo The make command returned an error of 2
The make command returned an error of 2
G:\MATLAB_veristand\project7\five_singal_niVeriStand_rtw>An_error_occurred_during_the_call_to_make
'An_error_occurred_during_the_call_to_make' .
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!