?? engwindemo.c
字號:
/* engwindemo.c
* This is a simple program that illustrates how to call the MATLAB
* Engine functions from a C program for windows
* Copyright (c) 1996-1998 by The MathWorks, Inc.
* All Rights Reserved.*/
#include < windows.h >
#include < stdlib.h >
#include < stdio.h >
#include < string.h >
#include < d:\MATLAB6p1\extern\include\engine.h >
void main()
{
Engine *ep;
/*
* Start the MATLAB engine
*/
if (!(ep = engOpen(NULL))) {
MessageBox ((HWND)NULL, (LPSTR)
"Can't start MATLAB engine", "",
MB_OK);
exit(-1);
}
engEvalString(ep, "contour(peaks)");
engClose(ep);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -