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.

回答(1 个)

Mischa Kim
Mischa Kim 2014-2-17

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

提问:

2014-2-17

回答:

2014-2-17

Community Treasure Hunt

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

Start Hunting!

Translated by