C and Fortran API Reference
263Pages

{{requestButtons}}

Catalog excerpts

C and Fortran API Reference - 11

MXArrayManipulation mxCreateLogicalMatrix(C) Create2-D,logical > mxArray initializedto > falsemxCreateLogicalScalar(C) Createscalar,logical > mxArray initializedto > falsemxCreateNumericArray(CandFortran) CreateunpopulatedN-Dnumeric > mxArraymxCreateNumericMatrix(CandFortran) Createnumericmatrixandinitializedataelementsto0 > mxCreateSparse(CandFortran) Create2-Dunpopulatedsparse > mxArraymxCreateSparseLogicalMatrix(C) Createunpopulated2-D,sparse,logical > mxArraymxCreateString(CandFortran) Create > 1 -by- > N string > mxArray initializedtospecifiedstring > mxCreateStructArray(CandFortran)...

Open the catalog to page 11
C and Fortran API Reference - 15

MXArrayManipulation mxMalloc(CandFortran) AllocatedynamicmemoryusingMATLABmemorymanager > mxRealloc(CandFortran) Reallocatememory > mxRemoveField(CandFortran) Removefieldfromstructurearray > mxSetCell(CandFortran) Setvalueofonecellof > mxArraymxSetClassName(C) ConvertstructurearraytoMATLABobjectarray > mxSetData(CandFortran) Setpointertodata > mxSetDimensions(CandFortran) Modifynumberofdimensionsandsizeofeachdimension > mxSetField(CandFortran) Setstructurearrayfield,givenfield nameandindex > mxSetFieldByNumber(CandFortran) Setstructurearrayfield,givenfieldnumberandindex >...

Open the catalog to page 15
C and Fortran API Reference - 17

MATLAB Engine mexPrintf(CandFortran) ANSI > ή C > printf -styleoutputroutine > mexPutVariable(CandFortran) Copy > mxArray fromMEX-functionintospecifiedworkspace > mexSet(C) SetvalueofspecifiedHandle Graphicsproperty > mexSetTrapFlag(CandFortran) Controlresponseof > mexCallMATLAB toerrors > mexUnlock(CandFortran) AllowMEX-filetobeclearedfrom memory > mexWarnMsgIdAndTxt(CandFortran) Issuewarningmessagewithidentifier > mexWarnMsgTxt(CandFortran) Issuewarningmessage > engClose(CandFortran) QuitMATLAB > ή enginesession > engEvalString(CandFortran) Evaluateexpressioninstring >...

Open the catalog to page 17
C and Fortran API Reference - 18

APIReference engPutVariable(CandFortran) PutvariablesintoMATLABengineworkspace > engSetVisible(C) ShoworhideMATLABengine session >

Open the catalog to page 18
C and Fortran API Reference - 33

Note Thebufferreturnedby > engEvalString isnotguaranteedtobe > NULL terminated. >

Open the catalog to page 33
C and Fortran API Reference - 79

See > mexfunction.c inthe > mex subdirectoryofthe > examples directory Օ > phonebook.c inthe > refbook subdirectoryofthe > examples directory. > mexErrMsgIdAndTxt , > mexErrMsgTxt , > mexWarnMsgIdAndTxt , > mexWarnMsgTxt

Open the catalog to page 79
C and Fortran API Reference - 84

2 ThesecondMEX-fileiscalledwiththe > trapflag initializedto > withinthatfile. > 3 WhenthesecondMEX-fileexits,thesavedvalueofthe > trapflag inthefirstMEX-fileisrestoredwithinthatfile. > See > mexsettrapflag.c inthe > mex subdirectoryofthe > examples directory. >

Open the catalog to page 84
C and Fortran API Reference - 105

Various > mx* callsrequireorreturnan > mxClassID argument. > mxClassID identifiesthewayinwhichthe > mxArray representsitsdataelements. > See > explore.c inthe > mex subdirectoryofthe > examples directory. >

Open the catalog to page 105
C and Fortran API Reference - 164

> mxgeteps.c and > mxisfinite.c inthe > mx subdirectoryofthe > examples directory >

Open the catalog to page 164
C and Fortran API Reference - 180

> mxsetdimensions.c and > mxsetnzmax.c inthe > mx subdirectoryofthe > examples directory > mxGetJc , > mxGetNzmax , > mxSetIr , > mxSetJc , > mxSetNzmax

Open the catalog to page 180
C and Fortran API Reference - 203

Itismostefficienttousethe > mxIsDouble form. > See > mxisclass.c inthe > mx subdirectoryofthe > examples directory. > mxClassID , > mxGetClassID , > mxIsEmpty , > mxGetClassName

Open the catalog to page 203
C and Fortran API Reference - 206

> mexget.c , > mexlock.c , > mexsettrapflag.c ,and > yprime.c inthe > mex subdirectoryofthe > examples directory Օ > mxcalcsinglesubscript.c , > mxgeteps.c , > mxgetinf.c ,and > mxisfinite.c inthe > mx subdirectoryofthe > examples directory >

Open the catalog to page 206

All The MathWorks catalogs and technical brochures

  1. Stateflow

    8 Pages

  2. SimEvents

    7 Pages

  3. SimDriveline

    7 Pages

  4. SimRF

    6 Pages

  5. MATLAB Coder

    5 Pages

  6. OPC Toolbox

    5 Pages

  7. SimBiology

    6 Pages

  8. xPC Target

    5 Pages

  9. SimMechanics

    7 Pages

  10. Simscape

    7 Pages

  11. Simulink

    6 Pages

  12. MATLAB®

    6 Pages

Archived catalogs

  1. Graphics

    667 Pages

  2. Data Analysis

    220 Pages

  3. Mathematics

    316 Pages