필터 지우기
필터 지우기

about inserting a toolbox output into a program

조회 수: 2 (최근 30일)
memorial
memorial 2011년 2월 24일
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