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"

Answers (2)

Perhaps you could try running this line to get the variable from the base workspace to the function workspace:
net = evalin('base', 'net');
Another way - setappdata/getappdata
doc setappdata
doc getappdata

Categories

Asked:

on 14 Dec 2011

Community Treasure Hunt

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

Start Hunting!