init
This commit is contained in:
19
научка/code/matlab_stm_emulate/mexing.m
Normal file
19
научка/code/matlab_stm_emulate/mexing.m
Normal file
@@ -0,0 +1,19 @@
|
||||
% Компилирует S-function
|
||||
clear, clc,
|
||||
|
||||
set = mex.getCompilerConfigurations('C', 'Selected');
|
||||
|
||||
Ts = 0.00001;
|
||||
|
||||
delete("*.mexw64")
|
||||
delete("*.mexw64.pdb")
|
||||
delete(".\MCU_Wrapper\Outputs\*.*");
|
||||
|
||||
status=system('.\MCU_Wrapper\run_mex.bat debug');
|
||||
|
||||
if status==0
|
||||
beep
|
||||
else
|
||||
error('Error!');
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user