Fortran mex: mxCopyCharacterToPt​r and mxCopyPtrToCharacte​r

版本 1.0.0.0 (9.5 KB) 作者: James Tursa
Drop in replacements for the Mathworks supplied functions of the same names that do not work.
1.1K 次下载
更新时间 2008/8/1

无许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Fortran with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
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.