about inserting a toolbox output into a program

2 次查看(过去 30 天)
Hi, I want to define a function in Matlab, with input variable X ,and it could get the output from neural network toolbox (nntool). so i wanna know how can i call the outputs of a toolbox into my program? Best, Memorial

回答(1 个)

Paulo Silva
Paulo Silva 2011-2-24
You can use the export function, it will create new variables in the workspace, the function:
who
Tells you what variables are avaiable, search for Perceptron Network in your matlab documentation for a good example.
ANDNet_outputs
ANDNet_errors
t
p
ANDNet
and maybe more variables (I don't know for sure)
Now if you have a function just send the variables as arguments
myfunction(ANDNet_outputs,ANDNet_errors,t,p,ANDNet)

Community Treasure Hunt

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

Start Hunting!

Translated by