필터 지우기
필터 지우기

Missing Required Files After Compiling

조회 수: 4 (최근 30일)
Michael
Michael 2014년 6월 18일
댓글: Michael 2014년 6월 19일
Hi,
I am in the process of upgrading from 2010b to 2014a and need to create stand-alone applications where i am replacing the built-in "input.m" with my own "input.m". I add my "input.m" file to the "Files required for your application to run" in the application compiler app, but when I run my compiled application my "input.m" is missing.
Originally in 2010b I was able to add my "input.m" as a required file in the project and then at the start up of the application just delete the built-in "input.m" as that was the one higher up in call list and by deleting it the application would automatically switch to my "input.m" function.
After switching to 2014a I noticed that trick no longer works as the application will keep calling the deleted file even after it is gone, and now I still add my "input.m" to the required files group, delete the unwanted file, and copy my file to the location the built-in file was in. I recently created a new stand-alone project from scratch (100% done in 2014a) and had no issues with missing files, but the project that I am having issue with was originally created in 2010b but I am packaging in 2014a.
Thanks, -Mike

답변 (1개)

Image Analyst
Image Analyst 2014년 6월 19일
So simply call it something else. No big deal. Just call your function myinput() or whatever and use that wherever you are currently calling input(). Pretty simple fix.
  댓글 수: 1
Michael
Michael 2014년 6월 19일
I agree that it is the simple solution this problem but I would like to know more as why the compiler is not adding files that are marked as "required" in some projects.

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

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by