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"

Antworten (2)

Kaustubha Govind
Kaustubha Govind am 14 Dez. 2011

0 Stimmen

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 am 14 Dez. 2011

0 Stimmen

Another way - setappdata/getappdata
doc setappdata
doc getappdata

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 14 Dez. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by