Matlab Deployed Application Plugin

11 vues (au cours des 30 derniers jours)
Bruno
Bruno le 22 Juin 2014
Commenté : Bruno le 23 Juin 2014
I have created a deployed application using Matlab, and would like to allow end users to write their own plugins for the application. These would be stored in a separate plugin folder.
When the plugin folder is located outside of the mcrCache and I attempt to run a plugin (either m-file or p-code using a call to the function run) I get an error that the function was not located, even though the file specified in the error message clearly exists.
When the plugin folder is located inside the mcrCache, but the plugin directory is not added to the path I get the same error. When I add the plugin directory to the path I get the error "Previously accessible file '/Users/Bruno/.mcrCache8.1/...' is now inaccessible."
Is there some means having a deployed application run an m-file or p-code that was not compiled with it when initially deployed? If so how?

Réponses (1)

Image Analyst
Image Analyst le 22 Juin 2014
What happens if you just put a "cd" to the folder where their m-file lives and then call it?
  1 commentaire
Bruno
Bruno le 23 Juin 2014
I get the same "Previously accessible file ... is now inaccessible."

Connectez-vous pour commenter.

Catégories

En savoir plus sur Application Deployment dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by