Undefined function or variable error when trying to deploy a gui
조회 수: 5 (최근 30일)
이전 댓글 표시
I am creating a GUIDE-based GUI, and I want to deploy it creating a standalone app. When I give the executable to anyone else, they get an error "undefined function or variable 'simulink'", which is strange to me considering the deployed app does not use Simulink at all. What could be the issue?
댓글 수: 0
답변 (2개)
Image Analyst
2016년 3월 14일
Run a dependency report on it. Go to the Current Folder panel, and click the little down arrow in the title bar. It should show you where and if Simulink is required.
댓글 수: 0
Image Analyst
2016년 3월 14일
Another thought - do you reference Simulink at all in your startup.m file? Because, little known to most people, the startup.m file actually will get run on the target computer before your actual m-file gets run.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!