Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Dynamically choosing files in a deployed application
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello, thanks for the assistance.
I am working on a large MATLAB application, that will be compiled and deployed to some of our users.
One aspect of this program allows the user to select a certain type of a .m file that was written according to one of our templates, and the program will plot the data inside of it and allow the user to look at the raw data inside of MATLAB.
To achieve this functionality, I have written an interface that will send the .m file, and all the other parameters and data, from the deployed application (no MATLAB license) to an instance of MATLAB (using a concurrent license).
Because these user-written .m files are not compiled, and can be in any location, I am not sure how to point to them with my compiled application. (I am aware that a compiled application can't run uncompiled files, which is why the interface was written). When testing this on an uncompiled version of the program, I am able to use addpath() to add these files to the MATLAB path, which is not possible on a compiled version.
Any help or idea would be appreciated.
0 comentarios
Respuestas (1)
Jan
el 20 de Jul. de 2017
You can use absolute path names to address the files. This is trivial, actually, therefore I'm not sure if I understand your question.
What is "a certain type of m file"? Do you create m-files dynamically to store data? This would be a very bad idea. Use binary or text files to store data, but not some pseudo-code. Then there would be no need to access a Matlab instance, because the data can be processed in the deployed compiled code.
1 comentario
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!