matopen in fortran

1 次查看(过去 30 天)
rob
rob 2012-4-2
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Fortran with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by