How can I share external functions between App Designer app and other apps (C#)
4 次查看(过去 30 天)
显示 更早的评论
I have been struggling to share some external matlab functions so that they can be accessed by both a C# application and a standalone App Designer app. The overall structure that I need is this;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/341650/image.png)
This works so long as I run the matlab app inside Matlab. However I need to release it as a standalone tool for others, without Matlab, to use. The Matlab app will call the external functions if I add their location to the path. However, this doesn't work if I compile the application and then install it as a standalone app. What I think happens is this ...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/341653/image.png)
The compiler creates compiled versions of the external functions and they get installed - hidden away in the AppData directory and not easily found! The Matlab application now talks to those versions even if the path of the shared external functions is added in the application. As a result any changes made to the external functions are not used by the standalone app - unless it is recompiled to keep the 'ghost' functions up to date.
Does anybody have any suggestions on how this can be done?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!