matopen in fortran

1 Ansicht (letzte 30 Tage)
rob
rob am 2 Apr. 2012
I am reading mat files in fortran which works fine as long as there are no blank spaces in the path or file name. For example:
pmat = matOpen(TRIM(dir)//file,"r")
pmat will be 0 if the dir or file strings have while spaces in them.
Is there a way to read and write files and/or paths with blank spaces???
thanks

Antworten (1)

Walter Roberson
Walter Roberson am 2 Apr. 2012
Ah, I knew this problem sounded familiar, but I didn't think my memory extended back that far...

Kategorien

Mehr zu Fortran with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by