standalone app using matlab compiler with external functions

조회 수: 14 (최근 30일)
Samuel Park
Samuel Park 2018년 4월 19일
답변: Image Analyst 2018년 4월 19일
I am using matlab compiler to create a stand alone application of a gui created using appdesigner. It compiles fine and recognizes the additional files (functions) used in the program. I can run it on the computer I used to compile but it does not work on other computers. I compiled the program to show the command prompt and it seems like it can't recognize the functions. Am I missing something? I am using Matlab 2018a.
  댓글 수: 7
Samuel Park
Samuel Park 2018년 4월 19일
I am using Package an Application.
Walter Roberson
Walter Roberson 2018년 4월 19일
Can you attach the mlapp for testing?

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

답변 (1개)

Image Analyst
Image Analyst 2018년 4월 19일

Check out the suggestions in the FAQ: http://matlab.wikia.com/wiki/FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try.3F

In my experience, of which I have a lot with compiled apps, is that usually the problem comes down to you either forgot to ship a required file, or you aren't using the proper full path (folder + base file name) of some file you want to open in your code.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by