> I used matlab 14.4 to transfer M-file to c code.
I'm not sure what you mean by that. Do you mean that you
used the Matlab Compiler ? If so, then which release of the Matlab
Compiler?
>The original M-file is
>fid = fopen('tx_para.txt','r')  It works
[quoted text clipped - 5 lines]
>Error in = = > tdv at 61
>Error in = = > top at 12
Please use
which fopen
to be sure that you are getting the built-in fopen and not
a user-defined function that happens to be named fopen.
fopen line 16 is normally a comment line, part of the 'help' description
of fopen.

Signature
"I like to build things, I like to do things. I am having
a lot of fun." -- Walter Chrysler
liu I-YIN - 23 Jul 2008 11:17 GMT
roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in
message <g652no$elr$1@canopus.cc.umanitoba.ca>...
> > I used matlab 14.4 to transfer M-file to c code.
>
> I'm not sure what you mean by that. Do you mean that you
> used the Matlab Compiler ? If so, then which release of the Matlab
> Compiler?
I change it to matlab 2006b, glibc 2.3.3.
but it still doesn't work.
the way I transfre the M-file is like
mcc -I /code
-I /matlab/2006b/toolbox
-I /matlab/2006b/extern/include
-W lib:libmatlab -T link:lib /code/top.m
-f my_mbuildopt.sh
> >The original M-file is
> >fid = fopen('tx_para.txt','r')  It works
[quoted text clipped - 14 lines]
> fopen line 16 is normally a comment line, part of the 'help' description
> of fopen.
chceked.
the fopen is bulit-in function /__\