where would the temporary files be saved when dll created by matlab compiler is called from .net application
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Walter Roberson
el 7 de Abr. de 2016
2 comentarios
Walter Roberson
el 9 de Abr. de 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() ?
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!