Using Workspace variables in a GUI matlab
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
alladin
am 29 Jan. 2015
Kommentiert: alladin
am 30 Jan. 2015
I have a workspace called *finalnet*. Inside the workspace i have a neural network called *net*. and I want to use the network in one of the functions in my GUI.
Is there a way to do that?
I tried to use *evalin* function : `network = evalin('finalnet','net')`
but i get this error:
> Error using evalin Unknown command option.
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 29 Jan. 2015
Bearbeitet: Sean de Wolski
am 29 Jan. 2015
doc evalin
The first input to evalin should be "Where should it eval in?"
I don't see how you can define a workspace. It'll either be in the 'base' workspace or the 'caller' workspace. Otherwise, you'll need to re-architect it so that it is.
network = evalin('base','net');
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!