필터 지우기
필터 지우기

Is there a way to have load command return data in format other than struct?

조회 수: 2 (최근 30일)
When I do abc = load('abc.mat','VAR1') the data loads as a structure even though VAR1 is a financial time series. How can I have it create a financial time series called abc?

채택된 답변

Oleg Komarov
Oleg Komarov 2012년 3월 21일
abc = fints;
def = fints;
save mymat
clear
load('mymat','abc')
As opposed to
load mymat
which poofs all the variables in the workspace.
A note of warning: for systematic and big project I would always recommend to load the variables into a structure, then retrieve the fieldnames.

추가 답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by