⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 recomp.m

📁 simulink real-time workshop for dragon12 development board from
💻 M
字号:
% Recompile any of the MC s-functions into a Mex-DLL
% This might become necessary when mofifying the call-up parameters of the masking block...
%
% (FW-06-01)

function ReComp(name)

temppath = cd;
pc_path = which('ReComp.m');
pc_path = [pc_path(1:max(find(pc_path == '\'))-4) 'mc'];
cd (pc_path);

% Matlab 6
disp (['Compiling file ', name, ' into a DLL.']);
eval(['mex ' name ' -v'])

cd(temppath);
clear temppath;

disp ('Done !');

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -