Matlab

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • error using a mex function

    1 answers - 251 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I have created a dll of a fortran routine. When I try to use the
    corresponding mex function in Matlab I obtain the following error:
    "error during write, unit -1"
    and Matlab is closed.
    Can anybody help me?
    Thank you,
    Grard Goffaux
  • No.1 | | 845 bytes | |

    Grard Goffaux wrote:
    >
    > I have created a dll of a fortran routine. When I try to use the
    > corresponding mex function in Matlab I obtain the following error:
    > "error during write, unit -1"
    > and Matlab is closed.
    > Can anybody help me?
    > Thank you,
    > Grard Goffaux


    It think that you either write the the screen or did not
    open the file prior to reading. In the past I had to open
    a file for unit 6 and add additional code to open a window.
    Then we used the Visual Fortran Compiler.

    In older versions of MATLAB (version 5 I believe) we did not run in
    to problems since the output channel was available.

    The program should work when you open a unit and write to
    it.

    Cees

    P.S. I could look up the code if you are stuck.

Re: error using a mex function


max 4000 letters.
Your nickname that display:
In order to stop the spam: 3 + 2 =
QUESTION ON "Matlab"

PERL.THATSCRIPTS.COM