Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Administrative Folder

Subject: Administrative Folder

From: Jessica

Date: 17 Feb, 2012 03:37:25

Message: 1 of 3

I am running Matlab on a Mac 10.6.8. I am running a code that uses “aviwrite” and “filloval” to generate a video. Very large files are being stored within the mac’s administrative folder “Private” (normally hidden from view because files within this folder are not supposed to be changed) when I run this code. I am not specifying the pathway to this “private” folder so do not know why files are being stored there. These large files are given names such as “tp63709af9_4b33_4060_b04f_ec4083b6c5dd.tmp.” These large files are automatically deleted if the code completes the video but these large files are not deleted if I force the code to end early (before it has completed making the video). How can I stop Matlab from stores these files here?

Subject: Administrative Folder

From: Christopher Creutzig

Date: 17 Feb, 2012 08:31:10

Message: 2 of 3

On 17.02.12 04:37, Jessica wrote:
> I am running Matlab on a Mac 10.6.8. I am running a code that uses “aviwrite” and “filloval” to generate a video. Very large files are being stored within the mac’s administrative folder “Private” (normally hidden from view because files within this folder are not supposed to be changed) when I run this code. I am not specifying the pathway to this “private” folder so do not know why files are being stored there. These large files are given names such as “tp63709af9_4b33_4060_b04f_ec4083b6c5dd.tmp.” These large files are automatically deleted if the code completes the video but these large files are not deleted if I force the code to end early (before it has completed making the video). How can I stop Matlab from stores these files here?

/private on a mac contains, among other things, /private/tmp, which is
one of two options for where programs are supposed to place temporary
files, and the system will clean up anything left behind; for
/private/tmp/, that happens on a daily basis by default, with files
removed if they haven't been accessed in the last three days. (Cf.
daily_clean_tmps_days in /etc/defaults/periodic.conf, noting that /tmp
is actually just a symbolic link to /private/tmp.)

I don't know if you can ask MATLAB to store its temporary files
someplace else, I just wanted to point out that what is happening is
actually the right thing.


Christopher

Subject: Administrative Folder

From: Jessica

Date: 18 Feb, 2012 00:36:34

Message: 3 of 3

Christopher Creutzig <Christopher.Creutzig@mathworks.com> wrote in message <4F3E104E.6080000@mathworks.com>...
> On 17.02.12 04:37, Jessica wrote:
> > I am running Matlab on a Mac 10.6.8. I am running a code that uses “aviwrite” and “filloval” to generate a video. Very large files are being stored within the mac’s administrative folder “Private” (normally hidden from view because files within this folder are not supposed to be changed) when I run this code. I am not specifying the pathway to this “private” folder so do not know why files are being stored there. These large files are given names such as “tp63709af9_4b33_4060_b04f_ec4083b6c5dd.tmp.” These large files are automatically deleted if the code completes the video but these large files are not deleted if I force the code to end early (before it has completed making the video). How can I stop Matlab from stores these files here?
>
> /private on a mac contains, among other things, /private/tmp, which is
> one of two options for where programs are supposed to place temporary
> files, and the system will clean up anything left behind; for
> /private/tmp/, that happens on a daily basis by default, with files
> removed if they haven't been accessed in the last three days. (Cf.
> daily_clean_tmps_days in /etc/defaults/periodic.conf, noting that /tmp
> is actually just a symbolic link to /private/tmp.)
>
> I don't know if you can ask MATLAB to store its temporary files
> someplace else, I just wanted to point out that what is happening is
> actually the right thing.
>
>
> Christopher

Thanks for this information. I didn't realize that it does automatically get deleted in a few days.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us