HQP  1.9.6
Hxi_mx_parse.h File Reference

Parse an argument string passed to a Simulink S-function and create according mxArrays. More...

#include "simstruc.h"
#include <Meschach.h>
Include dependency graph for Hxi_mx_parse.h:

Namespaces

 Hxi
 Hqp eXternal Interfaces.
 

Functions

Functions for parsing S-function argument strings
static const char * Hxi::mx_forward_whitespaces (const char *start)
 Return a pointer to the first non-whitespace character at or behind start. More...
 
static const char * Hxi::mx_forward_argument (const char *start)
 Return a pointer to the first non-whitespace character behind the current argument.
 
static const char * Hxi::mx_count_columns (const char *row, int &n)
 Count numbers of columns n of argument row. More...
 
static const char * Hxi::mx_count_dimensions (const char *arg, int &m, int &n)
 Count numbers of rows m and columns n of argument arg. More...
 
static mxArray * Hxi::mx_parse_argument (SimStruct *S, const char *arg)
 Parse one argument and return a dynamically allocated mxArray. More...
 
static void Hxi::mx_foutput (FILE *fp, mxArray *mx_arg)
 Print mxArray to FILE. More...
 

Detailed Description

Parse an argument string passed to a Simulink S-function and create according mxArrays.

(Simulink is a registered trademarks of The MathWorks, Inc.)

rf, 10/19/2002