Fortran mex: mxCopyCharacterToPtr and mxCopyPtrToCharacter
by James Tursa
26 Jul 2008
(Updated 01 Aug 2008)
Drop in replacements for the Mathworks supplied functions of the same names that do not work.
|
Watch this File
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 7.4 (R2007a)
|
| Other requirements |
Any supported Fortran compiler. Be sure to use version 2 files for Compaq Visual Fortran. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 31 Jul 2008 |
James Tursa
|
|
|
| Updates |
| 01 Aug 2008 |
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. |
|
Contact us at files@mathworks.com