where would the temporary files be saved when dll created by matlab compiler is called from .net application
3 views (last 30 days)
Show older comments
I have an algorithm written in Matlab that creates a temporary copy of a png image from a variable and deletes it at the end of the process. Using deploytool from Matlab Builder NE I converted my Matlab algorithm into a dll to be used in a .NET application.
If a webservice that is hosted somewhere on a server calls the dll, are the temporary images going to be saved somewhere on that server? I am using imwrite command to write the image but haven't specified any location. Would there be any consequences that I need to consider?
0 Comments
Answers (1)
Walter Roberson
on 7 Apr 2016
2 Comments
Walter Roberson
on 9 Apr 2016
ctfroot() is defined at run time in deployed applications, and is the directory that packaged additional files live in, and where (by default) files will be created.
I am not as familiar with the functioning of generated DLL's.
Have you considered using tempdir() and tempname() ?
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!