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
Walter Roberson
2019년 9월 6일
Which release are you using? It needs R2016b or later.
jaybles22
2019년 9월 6일
답변 (1개)
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!