Undefined function or variable error when trying to deploy a gui
2 次查看(过去 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 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!