📄 testsincplot.c
字号:
/* $Revision: 1.3 $ */
// Automatically generated by MATLAB Project Wizard version 1.0
#include "matlab.h"
#include "libsincplot.h"
#include "matrix.h"
int main()
{
mxArray * pArrayIn;
mxArray * pArrayOut;
int i=0;
libsincplotInitialize();
pArrayIn = mxCreateDoubleMatrix(1,1,mxREAL);
*(mxGetPr(pArrayIn))=10;//输入参数
mlxSincplot(1,&pArrayOut,1,&pArrayIn);
for(i=0;i<mxGetNumberOfElements(pArrayOut);i++)
{
printf("%6.2f\n",*(mxGetPr(pArrayOut)+i));
}
mxDestroyArray(pArrayIn);
mxDestroyArray(pArrayOut);
libsincplotTerminate();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -