How to use variable present in workspace in GUI

Dear Sir I have created a NN program and i want to use this program in a GUI mfile. it creates a network, but the GUI does not use this.It does does the recognize the net, it says unknown parameter..."net"

Respuestas (2)

Kaustubha Govind
Kaustubha Govind el 14 de Dic. de 2011
Perhaps you could try running this line to get the variable from the base workspace to the function workspace:
net = evalin('base', 'net');
Sean de Wolski
Sean de Wolski el 14 de Dic. de 2011
Another way - setappdata/getappdata
doc setappdata
doc getappdata

Categorías

Más información sobre Get Started with MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 14 de Dic. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by