Create mexFunction for C source code
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
In this code there are many command line arguments in the acotsp.c (the main function is here) and parse.c
In this case, how can I create the mexFunction?
I did this:
/***** acotsp.c file
int main(int argc, char **argv);
#include "mex.h"
#include <stdio.h>
#include <math.h>
#include <limits.h>
. . .
. . .
. . .
. . .
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
}
But, I do not know how to create the mexFunction. Could anyone guide me/help me out with writing this function?
1 件のコメント
James Tursa
2019 年 7 月 29 日
Most of the readers don't like clicking on random links. Can you attach the code instead?
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!