文件名称:BerndHafner
介绍说明--下载内容均来自于网络,请自行研究使用
C-mex files for MATLAB encounter the following problem when compiling
them with WATCOM 11.0: All access-functions to files (fprintf, fscanf)
cannot handle double variables, only integer and strings are read or
written correctly. The file convert.c contains two functions: You may
read a double-variable as a string from the file and convert it to a
double (function string2double) and you may convert a double to a string
(function double2string) and write it to a file (see main() in
convert.c).
The file conditio.dat is an example of numbers read by convert.c. The
conv.exe was compiled on a Windows95-system.
The files were tested for MATLAB 5.2 and WATCOM 11.0a
result of "ver" is: MATLAB Version 5.2.1.1420 on PCWIN-C-mex files for MATLAB encounter the following problem when compiling them with WATCOM 11.0: All access-functions to files (fprintf, fscanf) cannot handle double variables, only integer and strings are read or written correctly. The file convert.c contains two functions: You may read a double-variable as a string from the file and convert it to a double (function string2double) and you may convert a double to a string (function double2string) and write it to a file (see main () in convert.c). The file conditio.dat is an example of numbers read by convert.c. The conv.exe was compiled on a Windows95-system. The files were tested for MATLAB 5.2 and WATCOM 11.0a result of " ver" is : MATLAB Version 5.2.1.1420 on PCWIN
them with WATCOM 11.0: All access-functions to files (fprintf, fscanf)
cannot handle double variables, only integer and strings are read or
written correctly. The file convert.c contains two functions: You may
read a double-variable as a string from the file and convert it to a
double (function string2double) and you may convert a double to a string
(function double2string) and write it to a file (see main() in
convert.c).
The file conditio.dat is an example of numbers read by convert.c. The
conv.exe was compiled on a Windows95-system.
The files were tested for MATLAB 5.2 and WATCOM 11.0a
result of "ver" is: MATLAB Version 5.2.1.1420 on PCWIN-C-mex files for MATLAB encounter the following problem when compiling them with WATCOM 11.0: All access-functions to files (fprintf, fscanf) cannot handle double variables, only integer and strings are read or written correctly. The file convert.c contains two functions: You may read a double-variable as a string from the file and convert it to a double (function string2double) and you may convert a double to a string (function double2string) and write it to a file (see main () in convert.c). The file conditio.dat is an example of numbers read by convert.c. The conv.exe was compiled on a Windows95-system. The files were tested for MATLAB 5.2 and WATCOM 11.0a result of " ver" is : MATLAB Version 5.2.1.1420 on PCWIN
(系统自动生成,下载前可以参看下载内容)
下载文件列表
wat11
.....\README
.....\conditio.dat
.....\conv.exe
.....\convert.c
.....\README
.....\conditio.dat
.....\conv.exe
.....\convert.c