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