Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
Ben
Posts:
6
From:
Netherlands
Registered:
2/18/10
|
|
Opening struct in function
Posted:
Feb 23, 2010 9:39 AM
|
|
Hi,
I have the following problem: I have build a function. In the input of this function I have placed the following: datainput: A set of data name: Name of the structure, I would like to use cell: exact position of the cell within the structure. In my case: 'data(1).posVK1.bocht'
In the file where I call this function I would like to have:
name = 'StrokeComparison.mat'; cell = data(1).posVK1.bocht;
and than use those terms in the function
[]=FgrowingDataSet(name, cell, datainput)
load(name); destination = cell;
it does say: data(1,1).posVK1.bocht does not exist.
for example.
It doesn't work in my case, but Is this possible? If not, how can I make it work. Thanks in advance.
Message was edited by: Ben
|
|
|
|