Conversion of structure to double in R2017a

조회 수: 3 (최근 30일)
Kundan
Kundan 2017년 9월 19일
댓글: Jan 2017년 9월 19일
I want to convert structure file to double array, earlier I used struc2array but since I have 2017a, these function do not work. Do anyone know what is the function?
  댓글 수: 14
Walter Roberson
Walter Roberson 2017년 9월 19일
Try
ls(fullfile(matlabroot, 'toolbox/shared/measure/struct2array.m'))
If that shows a file name then the file exists and it would then have to be a path problem:
rehash toolboxcache
If the file does not exist then reinstall MATLAB.
Jan
Jan 2017년 9월 19일
@Kundan: Please note that I even do not know what a "structure file" is. The explanation "structured file which have 580*9 table format" is not clear also. According to your comment T is a "struct". But what does "table format" mean then?
What exactly does "acting weird" mean? You get a clear and short error message. Perhaps the M-file was deleted by accident?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by