Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C stprtool box matlab mex_C_Matlab_Mex - Fatal编程技术网

C stprtool box matlab mex

C stprtool box matlab mex,c,matlab,mex,C,Matlab,Mex,我试图在Matlab中使用stptool-box的内核函数。因为它是一个c文件,所以我使用mex函数来链接它。但是,我遇到了以下错误: Undefined symbols for architecture x86_64: "_arg1", referenced from: _mexFunction in kernel.o "_dataA", referenced from: _mexFunction in kernel.o "_dataB", referenced from: _me

我试图在
Matlab
中使用
stptool-box
的内核函数。因为它是一个c文件,所以我使用
mex
函数来链接它。但是,我遇到了以下错误:

Undefined symbols for architecture x86_64:
"_arg1", referenced from:
  _mexFunction in kernel.o
"_dataA", referenced from:
  _mexFunction in kernel.o
"_dataB", referenced from:
  _mexFunction in kernel.o
"_dim", referenced from:
  _mexFunction in kernel.o
"_ker", referenced from:
  _mexFunction in kernel.o
"_kernel", referenced from:
  _mexFunction in kernel.o
"_kernel_id", referenced from:
  _mexFunction in kernel.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

mex: link of ' "kernel.mexmaci64"' failed.
arg1
to
kernel\u id
kernel.c
中的一些变量。你有办法解决这个问题吗