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 dataname: Name of the structure, I would like to usecell: 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.