Last change
on this file since 2018 was
737,
checked in by dkearney, 18 years ago
|
added the rpmxFlush function to flush matlab's buffers on demand.
this is used in the progress function.
|
File size:
1014 bytes
|
Line | |
---|
1 | /* |
---|
2 | * ---------------------------------------------------------------------- |
---|
3 | * INTERFACE: Rappture-Matlab Bindings Header |
---|
4 | * |
---|
5 | * ====================================================================== |
---|
6 | * AUTHOR: Derrick Kearney, Purdue University |
---|
7 | * Copyright (c) 2004-2007 Purdue Research Foundation |
---|
8 | * |
---|
9 | * See the file "license.terms" for information on usage and |
---|
10 | * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
---|
11 | * ====================================================================== |
---|
12 | */ |
---|
13 | |
---|
14 | #ifndef _Rp_MATLAB_HELPER_H |
---|
15 | #define _Rp_MATLAB_HELPER_H |
---|
16 | |
---|
17 | #include "rappture.h" |
---|
18 | #include "RpBindingsDict.h" |
---|
19 | |
---|
20 | // include the matlab api header |
---|
21 | #include "mex.h" |
---|
22 | |
---|
23 | #ifdef __cplusplus |
---|
24 | extern "C" { |
---|
25 | #endif |
---|
26 | |
---|
27 | int getIntInput ( const mxArray* prhs ); |
---|
28 | double getDoubleInput ( const mxArray* prhs ); |
---|
29 | char* getStringInput ( const mxArray* prhs ); |
---|
30 | void freeStringInput ( void* ptr); |
---|
31 | void rpmxFlush (); |
---|
32 | |
---|
33 | #ifdef __cplusplus |
---|
34 | } |
---|
35 | #endif |
---|
36 | |
---|
37 | #endif // _Rp_MATLAB_HELPER_H |
---|
Note: See
TracBrowser
for help on using the repository browser.