Matlab Deployed Application Plugin

조회 수: 12 (최근 30일)
Bruno
Bruno 2014년 6월 22일
댓글: Bruno 2014년 6월 23일
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?

답변 (1개)

Image Analyst
Image Analyst 2014년 6월 22일
What happens if you just put a "cd" to the folder where their m-file lives and then call it?
  댓글 수: 1
Bruno
Bruno 2014년 6월 23일
I get the same "Previously accessible file ... is now inaccessible."

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Application Deployment에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by