-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMatLabDesc.h
More file actions
executable file
·39 lines (29 loc) · 1.39 KB
/
MatLabDesc.h
File metadata and controls
executable file
·39 lines (29 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef MATLABDESC_H
#define MATLABDESC_H
#include <string.h>
#include "constants.h"
#include "structs.h"
#include <stdio.h>
#include <stdlib.h>
int setMatLabLibName(MatLabDesc *desc, char *libName);
int setMatLabFunctionName(MatLabDesc *desc, char *funcName);
int setFirstFilter(MatLabDesc *desc, int firstFilter);
void setNumArgs(MatLabDesc *desc, int numInputs, int numInputOutpus, int numOutputs);
int addArgInput(MatLabDesc *desc, char *argType, char *deserializeFunctionName,
char *deserializeLibName, int userArgIndex, char *inputType,
int parameterOrder,int mesgIndexIn);
int addArgInputOutput(MatLabDesc *desc, char *argType, char *deserializeFunctionName,
char *deserializeLibName, int userArgIndex, char *inputType,
char *serializeFunctionName, char *serializeLibName, int parameterOrder,
int mesgIndexIn, int mesgIndexOut);
int addArgOutput(MatLabDesc *desc, char *argType, char *serializeFunctionName,
char *serializeLibName, int parameterOrder, int mesgIndexOut);
/////////////////////gets... you cant free the return
char *getMatLabLibName(MatLabDesc *desc);
char *getMatLabFunctionName(MatLabDesc *desc);
int getNumArgOutputs(MatLabDesc *desc);
int getNumArgInputs(MatLabDesc *desc);
int getNumArgInputOutputs(MatLabDesc *desc);
ArgOutput *getArgOutputs(MatLabDesc *desc);
ArgInput *getArgInputs(MatLabDesc *desc);
#endif