From: Jan Simon on 6 Mar 2010 11:11 Dear Angela! > I'm trying to return a vector and 2 scalars using function [a1,a2,a3]=foo(matrix m, matrix y) but for some reason Matlab is only returning the vector. Even when I just try to get two scalars using [a2,a3]=foo(matrix m, matrix y) it only returns one thing. Can someone help me with this bug? I have Matlab 2009b. Then your function foo has a bug. Please post it. Otherwise it is obviously impossible to find the bug... Kind regards, Jan
|
Pages: 1 Prev: return multiple outputs for function Next: uiimport run twice? |