Undefined function (missing) 'tile'
Mostrar comentarios más antiguos
I have been provided with the following code by someone who is out of touch for a good while.
The aim of the code is to unzip a .gz file into a far larger .txt file.
damages_file = gunzip(horzcat('.\Input\fires\',sprintf('%s', tile), '\size_', sprintf('%s', tile),'_version_ts',sprintf('%s', num2str(time)), '_', sprintf('%s', num2str(rp)),'v.txt.gz'));
When I attempt to run the code, however, the problem is that it says: Undefined function or variable 'tile'
My question is what is the problem, or what is a 'tile'? I am using the data file as is.
Does matlab require a separate toolbox or the like to be able to understand tiles.
Respuestas (1)
Mischa Kim
el 17 de Feb. de 2014
0 votos
Bobby, in this case tile is a variable that needs to be initialized before it can be used. The input parameter for the gunzip() command is the text string of the file name you are trying to access. So tile is part of that filename/folder you need to specify.
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!