Undefined function (missing) 'tile'

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.

Answers (1)

Mischa Kim
Mischa Kim on 17 Feb 2014
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.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 17 Feb 2014

Answered:

on 17 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!