mexEvalString

Purpose

Execute statement in string.

C Synopsis

#include "mex.h"
int mexEvalString(string)
  char *string;

Fortran Synopsis

integer*4 function mexEvalString(string)
character*(*) string

Arguments

string
string to execute

Description

mexEvalString causes MATLAB to execute the statement or expression contained in string in the MEX-file's caller's function workspace. It returns zero if successful, and a nonzero value if an error occurs.

(c) Copyright 1994 by The MathWorks, Inc.