about inserting a toolbox output into a program

4 views (last 30 days)
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

Answers (1)

Paulo Silva
Paulo Silva on 24 Feb 2011
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!