Extra files and folders being written during image analysis on HPC

4 views (last 30 days)
Hi,
I'm using a Linux HPC version of Matlab 2019a. The script I'm running takes 9 small images and tiles them into 1 larger image. These tiled images are then joined along a third axis as a time lapse
What I'm seeing is that these tiled images are also saved to the same directory I'm writing the time-lapse images in, but without an extension and a random filename, such as: "I5LVON~J" and "I5TBGQ~4". What's even odder is that, in the end of the script I'm also writing the time lapse images out to folders, which are created fine, but there is also an equal number of empty folders created with names like "I542SA~S" and "I99TO7~6".
I did think that I wasn't properly closing a file, but then, the temp files that are being saved are not read files, they are matrix constructions from reading in nine seperate files. The files that are opened aren't saved as temp files, only the ones constructed.
I don't get this issue when I run this script in Windows on a workstation. It's a bit of an odd problem, hopefully someone has encountered something similar and has an idea on how to prevent it from occuring.
Thanks!

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!