Error using mex C:\Users\dell pc\Documents\MATLAB\directedpathopening.c:72:66: fatal error: dml_dipmex.h: No such file or directory #include dml_dipmex.h /* includes diplib.h and mex.h */ ^ compilation terminated.
I have installed diplib from diplib.org how to resolve this error

回答 (1 件)

Jan
Jan 2017 年 5 月 26 日
編集済み: Jan 2017 年 5 月 26 日

0 投票

The error message tells you, that the file dml_dipmex.h is not found in the line:
#include <dml_dipmex.h>
The triangle parenthesis mean, that the file is searched in the library paths. But where is this file? You can start with searching it manually. Then either include the corresponding path as library path in the mex command (see: help mex), or use:
#include "..\folder\dml_dipmex.h"
with realtive path (replace "..\folder" accordingly).
Did you contact the author already?

質問済み:

2017 年 5 月 26 日

編集済み:

Jan
2017 年 5 月 26 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by