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 /
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 /
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