This feature is not supported on the Wolfram Cloud.

As of Version 10.0, MLParameters has been superseded by MLEnvironmentParameter.

is a MathLink type used to contain user-supplied parameters or functionality for an MLENV object.


ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

#include <stdlib.h>
#include "mathlink.h"

int main(int argc, char **argv)
    MLENV env;
    MLParameters p;

    if(! MLNewParameters((char *)p, MLREVISION, MLAPIREVISION))
        { /* unable to initialize the parameters object */

    MLSetAllocParameter((char *)p, malloc, free);

    env = MLInitialize((char *)p);
    if(env == (MLENV)0)
        { /* unable to initialize the MathLink environment */ }

    /* ... */


    return 0;
Translate this page: