Filter löschen
Filter löschen

about inserting a toolbox output into a program

2 Ansichten (letzte 30 Tage)
memorial
memorial am 24 Feb. 2011
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

Antworten (1)

Paulo Silva
Paulo Silva am 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!

Translated by