Fortran mex: mxCopyCharacterToPt​r and mxCopyPtrToCharacte​r

Drop in replacements for the Mathworks supplied functions of the same names that do not work.
1,1K download
Aggiornato 1 ago 2008

Nessuna licenza

The Mathworks supplied Fortran mxCopyCharacterToPtr and mxCopyPtrToCharacter routines do not work. This submission contains two drop-in replacement routines that do work. They have the same argument signatures as the Mathworks routines. Simply include them with your Fortran source code and they will override the Mathworks library functions.

Also included are two test driver mex functions to demonstrate the use of the routines.

Cita come

James Tursa (2024). Fortran mex: mxCopyCharacterToPtr and mxCopyPtrToCharacter (https://www.mathworks.com/matlabcentral/fileexchange/20860-fortran-mex-mxcopycharactertoptr-and-mxcopyptrtocharacter), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Fortran with MATLAB in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

Confirmed that Compaq Visual Fortran does not support the %REF construct properly in the original files. So I am including versions that do not use %REF. These should work with Compaq Visual Fortran.