Fatal error running reference example Double Lane Change Maneuver after adding a scope to the model
3 views (last 30 days)
Show older comments
Tong Zhao on 11 Sep 2020
Commented: xiaolu bian on 26 Nov 2021
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:
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:
Ryan Chladny on 15 Oct 2021
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.
xiaolu bian on 26 Nov 2021
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.
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
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!