i don't know if my explanation is good.
i would like :
anyfunction(z) = 6;
and the result would be : variable "name" in the workspace (value = 6, double array)
Hi,
I have z='name';
so z is a char array.
and i would like to make a variable name = 6; without writing "name = 6" in the command window.
so it should be smth like num2str(z) = 6 ; (that doesn't work)
is there a function which make that ?
thanks