Write A Tall Array

Super inexperienced MATLAB user/coder here.
MATLAB's webpage (above) talks about a write function where you can write tall arrays. When I start typing in "write" it shows a list of pre loaded functions, but just "write" is not one of them. On top of it, when I use the write(location,tA) option, it errors out and tells me that the write function doesn't exist. Is there a specific matlab product or toolbox that I should be using for the "write" function? The webpage doesn't specify.
Here's the warning that I get:
'Undefined function 'write' for input arguments of type 'char'.

2 个评论

Which release are you using? It needs R2016b or later.
R2019a

请先登录,再进行评论。

回答(1 个)

Steven Lord
Steven Lord 2019-9-6

0 个投票

As stated on that documentation page the first input argument in your call to the write function (which is either location or filepattern) must be either a char vector or a string and the second input argument in your call to the write function (which is the tA input) must be a tall array. From the error I'm guessing you passed a char vector in as the first input but you passed something other than a tall array in as the second input argument (or didn't pass a second input in at all.)
Ensure you're calling write with at least two input arguments, the second of which must be a tall array.
If you're trying to write some other type of variable to disk, what is the class of the variable you're trying to write? Knowing that may help us suggest the correct tool for the job.

类别

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

产品

Community Treasure Hunt

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

Start Hunting!

Translated by