📄 example_sel.txt
字号:
Algorithm design with Embedded MATLAB
Introduction
Run the snapshot example $amedfilt2image;
Examine the algorithms
Median filter $edit('mymedfilt2.m');
Adaptive median filter $edit('amedfilt2.m');
Making the algorithm compliant
Supported function list $doclink;
EMLMEX: adaptive algorithm compliant? $emlmex -eg {im_noise} amedfilt2
Remove variable dimensions $edit('amedfilt2_vard.m')
Remove function calls as necessary $edit('amedfilt2_roifun.m')
EMLC: compliant adaptive algorithm $emlc -eg {im_noise} -c -T rtw:lib -report amedfilt2_roifun
Making the algorithm more optimal
Collapse loops $edit('amedfilt2_loops.m')
Eliminate unnecessary calculations $edit('amedfilt2_calc.m')
EMLC: optimized algorithm $emlc -eg {im_noise} -c -T rtw:lib -report amedfilt2_calc
Incorporating fixed-point arithmetic
Fixed-point optimized code $edit('amedfilt2_fixpt.m')
EMLC: fixed-point algorithm $emlc -eg {im_fixpt} -c -T rtw:lib -report amedfilt2_fixpt
Integrate fixed-point algorithm into Simulink
Open the Model $amedfilt2_simulink;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -