📄 testsurf.cpp
字号:
#include "matlib.h"
#pragma hdrstop
#include "testsurf.h"
Mm testsurf(Mm a) {
begin_scope
a.setname("a");
call_stack_begin;
// nargin, nargout entry code
double old_nargin=nargin_val; if (!nargin_set) nargin_val=1.0;
nargin_set=0;
double old_nargout=nargout_val; if (!nargout_set) nargout_val=0.0;
nargout_set=0;
// translated code
if (istrue(a==TM("surf"))) {
surf((CL(peaks())));
} else {
contour((CL(peaks())));
}
call_stack_end;
// nargin, nargout exit code
nargin_val=old_nargin; nargout_val=old_nargout;
// function exit code
a.setname(NULL);
return x_M;
end_scope
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -