Borrar filtros
Borrar filtros

dlmwrite function Could not open file

1 visualización (últimos 30 días)
yuri tupizin
yuri tupizin el 3 de Abr. de 2015
Respondida: James Tursa el 3 de Abr. de 2015
Hi ,
I'm trying to build a very complicated function :) that looks like :
A = dlmread('testmatrix.txt',',');
Result = A*A ;
dlmwrite ('result.txt',Result,'newline','pc');
I got some questions about the dlmwrite function :
1) where does the 'result.txt' goes ? 2) I'm keep getting errors like : Could not open file result.txt
my goal is to use this function to write to the relative path where the m file is located.
thanks . Yuri

Respuestas (1)

James Tursa
James Tursa el 3 de Abr. de 2015
result.txt will go into your current directory. I.e., it will go into what this command shows:
cd
Do you have write permission in this directory?

Categorías

Más información sobre QSP, PKPD, and Systems Biology en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by