How do I let users read files (new data) into deployed compiled code?
조회 수: 3 (최근 30일)
이전 댓글 표시
I want to use (let others use) some matlab code as one of three (so far) codes used to perform simulations. I use a script to drive the simulations, and it works fine for the fortran and c (sourced) executables.
I really like the concept of deploying compiled Matlab code, and demonstrated that it indeed works for the Matlab code of interest. I included the input files for one example in the Build process.
Unfortunately, I cannot find out how to have new data files read into the executable - each user will want to process different information. I don't mind if the dozen or so filenames (holding the data and runtime options) need to be the same, but it is essential that the content of each file can change.
댓글 수: 0
채택된 답변
owr
2012년 6월 26일
Let them browse for it with some sort of UI. You can use functions like "uigetfile" to get the file name and path.
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!