I think what you want is something like …
mpopt = mpoption;
results = runpf('case39', mpopt, ‘flowoutput.txt');
The file will be a simple text file with the pretty-printed output in it.
--
Ray Zimmerman
Senior Research Associate
B30 Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645
On Nov 3, 2013, at 9:56 AM, Kusi, Samuel A <[email protected]> wrote:
>
> How do I define a file name for print output to be appended? What format will
> this file be in?
> This is the code I am using: I keep getting error Undefined function or
> variable 'flowoutput'
>
> mpopt = mpoption;
> fname = flowoutput;
> results = runpf('case39', mpopt, flowoutput);
>
> Please advise.
>
> --
> Samuel Kusi
> Electrical Engineering
> GTID#: 902765579
>
>
>