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)
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?

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Abr. de 2016
  2 comentarios
nug
nug el 8 de Abr. de 2016
Looks like ctfroot give me the location where all the files are located so that I can point to them correctly when packaging the application. But I have already packaged my application and have a dll which is going to be used in commercial application.
Part of the matlab code is to write the image using imwrite, read and delete at the end. would all these be handled properly when the dll is called by the client on the end user machine?
Walter Roberson
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() ?

Iniciar sesión para comentar.

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!

Translated by