필터 지우기
필터 지우기

how to get the structure variable in excel using matlab addins?

조회 수: 4 (최근 30일)
Jaivik Kachhia
Jaivik Kachhia 2013년 5월 2일
I am doing data studies of system. I want to take matlab results to excel using matlab excel addins. I am facing one problem that is, I want to 'getmatrix' from matlab to excel which is in the structure. how can i get it?
e.g. xy is structure and under it several variables are there. I want to get those variables to excel using 'getmatrix'.
I tried xy.abc -> doesn't work xy -> doesn't work
Regards Jaivik

답변 (1개)

Madhura Suresh
Madhura Suresh 2013년 8월 26일
You can use the MATLAB EVAL function in conjunction with the MATLABSUB Excel Link function to obtain the data. For this you can enter the following code in an Excel worksheet cell:
matlabsub("eval", "<DESTINATION_CELL>", "xy.abc");

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by