Hello
I've got some workspace data in matlab, I would like to be able to convert the workspace name to a string so I can use strcat.
So given I've got a 3D array called Rubic, when i use the following commands
namenew = strcat(Rubic, 'whatever')
namenew = imnoise(Rubic, 'speckle');
I get an error
I know it's because I'm using Rubic when it should be 'Rubic'
A quick fix that I can think of is
function name(filenameworkspace, filename)
run by typing
name(Rubic,'Rubic')
Does anyone know how I can convert the name saved in workspace to a string?
Many Thanks
Regards Opul3nce