新建文件 Software/Application/Octave/C++_调用_Octave.md
This commit is contained in:
parent
5bfd2e285f
commit
eecc3f0a14
|
@ -0,0 +1,20 @@
|
||||||
|
# C++ 调用 Octave
|
||||||
|
|
||||||
|
## 环境配置
|
||||||
|
|
||||||
|
### Ubuntu
|
||||||
|
|
||||||
|
需安装 octave 库
|
||||||
|
|
||||||
|
sudo apt-get install liboctave-dev
|
||||||
|
|
||||||
|
## 主要头文件
|
||||||
|
|
||||||
|
Ubuntu Octave 4.2 版本头文件路径在:/usr/include/octave-4.2.2/octave 下。主要头文件如下:
|
||||||
|
|
||||||
|
```c++
|
||||||
|
#include <oct.h>
|
||||||
|
#include <octave.h>
|
||||||
|
#include <parse.h>
|
||||||
|
#include <toplev.h>
|
||||||
|
```
|
Loading…
Reference in New Issue