Create executable or mex file?
이전 댓글 표시
Hi, I have a Matlab function taking input structure as argument, processing several files and then generate an Excel sheet. Inside the function I am also calling several other Matlab functions I have written on my own. I want to generate an executable or mex file (I think) in Matlab that I can distribute to colleagues also using Matlab.
How do I create such file that they can use within Matlab without the need of distributing all individual files?
Best regards, Jonas
답변 (1개)
Walter Roberson
2016년 4월 9일
0 개 추천
Your options are:
- MATLAB Compiler. This would not require that your colleagues have a MATLAB license. Debugging the compiling can be a nuisance. Not everything can be compiled.
- MATLAB Coder and a bunch of extra work to interface to ActiveX or do other I/O or graphics. This would not require that your colleagues have a MATLAB license. The extra interfacing work is probably not worth the effort. The parts that can have code generated are even more restrictive than the Compiler
- Create a Toolbox . This does require that your colleagues have a MATLAB license. This should be fairly easy. It pretty much creates a .zip file, so your colleagues would be able to look at the .m files, but you only have to transfer the single bundle file.
카테고리
도움말 센터 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!