0

Writing in first line of a txt file with MATALB

Hello, I want to write CLODBL model in the first line of .dyr file of PSSE software by MATLAB script, How can I do it? CLODBL model is as follows:

 3005 'CLODBL' * 20 40 0 5 10 2 0 0  /
Amir90's avatar
1
Amir90
asked 2017-08-13 00:07:58 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

Is using matlab a requirement for this? That seems like a lot of overhead for writing to a text file.

I think you could just use fopen, fprintf, and fclose to open, write, and close the file respectively.

https://www.mathworks.com/help/matlab...tid=gnloc_drop

oppossumX's avatar
50
oppossumX
answered 2017-08-14 11:35:34 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Login/Signup to Answer