📄 tmfile_template.m
字号:
function tmfile_template()
%TMFILE_TEMPLATE Standalone test function template.
% TMFILE_TEMPLATE does setup and calls MFILE_TEMPLATE.
% Creates the output file, OUTPUT_TEST.HTML. Use this
% template driver program to create your own standalone
% test program.
%
% Use this test driver with the MATLAB debugger to step
% through your program.
%
% Author(s): M. Greenstein, 05-18-98
% Copyright 1998-2000 The MathWorks, Inc.
% $Revision: 1.3 $ $Date: 2000/05/22 20:40:16 $
% STEP 1
% Set up input variables as they would come in from
% the HTML input form created from INPUT_TEMPLATE.HTML.
outstruct.my_input_variable_1 = some appropriate test value;
% STEP 2
% Call your application function that was created from
% <MFILE_TEMPLATE.M>. Replace <MFILE_TEMPLATE> with the
% name of your application M-file. Provide a test output
% file name for the optional argument by replacing <TEST_OUTPUT.HTML>
% with your test output HTML file name.
retstr = <MFILE_TEMPLATE>(outstruct, '<TEST_OUTPUT.HTML>');
% STEP 3
% Examine the file you supplied for <TEST_OUTPUT.HTML> in your
% web browser.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -