% Компилирует S-function currFolder = cd; cd([currFolder, '\Inu']); mex -D"ML" ... -I"F:\Work\Projects\MATLAB\Drives_lib_new\device_support_ml\include" ... -outdir F:\Work\Projects\MATLAB\Drives_lib_new\Inu_im_1wnd_3lvl ... wrapper_inu.c controller.c init28335.c detcoeff.c isr.c main.c param.c upr.c estimate.c... F:\Work\Projects\MATLAB\Drives_lib_new\device_support_ml\source\C28x_FPU_FastRTS.c ... F:\Work\Projects\MATLAB\Drives_lib_new\device_support_ml\source\DSP2833x_GlobalVariableDefs.c ... -g cd(currFolder); clear currFolder