|
On 10-11-17 03:42 PM, Mateusz Gos wrote:
> I am struggling to save my outputs via fprintf command, but not to my
> current working directory, but a different one (that does not have
> anything to do with Matlab) - say c:
>
> it seems like something that should be doable and fairly simple, but so
> far I have not succeded. Can anyone advice me?
fprintf() has no control over directories. The fid (file identifier) that you
pass to fprintf() is associated with a file whose directory is set at the time
the file is opened using fopen().
For example,
fid = fopen('c:\temp\fizbin.txt', 'wt');
|