필터 지우기
필터 지우기

Old class definitions in MATLAB2012

조회 수: 1 (최근 30일)
Philipp
Philipp 2012년 5월 16일
Dear Matlab users!
I am working on an old project from 2004, with old class definitions
@classname - syntax instead of classdef.
I cannot easily browse these objects like structures, which costs me a lot of time. Do you have a hint for me, how to easily browse these kind of objects?
I would very appriciate your kind help, Philipp

채택된 답변

Titus Edelhofer
Titus Edelhofer 2012년 5월 16일
Hi Philipp,
what do you mean by "easily browse"? Do you mean taking a look at the properties?
You might convert to a structure using
x = struct(yourObject);
and take a look at x then, does this help?
Titus
  댓글 수: 1
Philipp
Philipp 2012년 5월 24일
Hi Titus,
thanks for your solution.
Yes, I want to look at the properties in the variable editor, which is supported in resent matlab versions.
Your solution works fine for exploring the properties of old objects.
Philipp

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Construct and Work with Object Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by