Borrar filtros
Borrar filtros

Undefined function or variable error when trying to deploy a gui

3 visualizaciones (últimos 30 días)
John F
John F el 14 de Mzo. de 2016
Respondida: Image Analyst el 14 de Mzo. de 2016
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?

Respuestas (2)

Image Analyst
Image Analyst el 14 de Mzo. de 2016
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.

Image Analyst
Image Analyst el 14 de Mzo. de 2016
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.

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by