STM MATLAB Simulator
Loading...
Searching...
No Matches
F:/Work/Projects/MATLAB/matlab_stm_emulate/mexing.m
Go to the documentation of this file.
1% Компилирует S-function
2clear, clc,
3
4set = mex.getCompilerConfigurations('C', 'Selected');
5
6Ts = 0.000001;
7
8delete("*.mexw64")
9delete("*.mexw64.pdb")
10delete(".\MCU_Wrapper\Outputs\*.*");
11
12status=system('.\MCU_Wrapper\run_mex.bat debug');
13
14if status==0
15 beep
16else
17 error('Error!');
18end
19
'C', 'Selected' getCompilerConfigurations()
status
Definition mexing.m:12
Ts
Definition mexing.m:6