Files
hoverboard-firmware-hack-SIN/01_Matlab/BLDC_controller_ert_rtw/BLDC_controller.bat
2019-05-26 15:42:33 +02:00

13 lines
387 B
Batchfile

@if not "%MINGW_ROOT%" == "" (@set "PATH=%PATH%;%MINGW_ROOT%")
cd .
if "%1"=="" ("C:\PROGRA~1\MATLAB\R2017b\bin\win64\gmake" -f BLDC_controller.mk all) else ("C:\PROGRA~1\MATLAB\R2017b\bin\win64\gmake" -f BLDC_controller.mk %1)
@if errorlevel 1 goto error_exit
exit /B 0
:error_exit
echo The make command returned an error of %errorlevel%
An_error_occurred_during_the_call_to_make