필터 지우기
필터 지우기

How to read a variable from matfile by searching for its name?

조회 수: 3 (최근 30일)
Joseph Stalin
Joseph Stalin 2017년 12월 7일
답변: Stephen23 2017년 12월 7일
Hi, I have a matfile with variables of having 1000 samples each. I want to search for specific variables by its name and pick that from the matfile and store it in a array. So, I want to have 2 dimensional array with choosen variables and its values. Please let me know how to do this?
regards, Joseph

답변 (1개)

Stephen23
Stephen23 2017년 12월 7일
You can use whos to get a list of the variables in a .mat file.

카테고리

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