필터 지우기
필터 지우기

Could you help me interpret what happened?

조회 수: 2 (최근 30일)
Xin Shen
Xin Shen 2020년 12월 14일
댓글: Xin Shen 2020년 12월 14일
Greetings,
I am debugging others' codes. In Polyhedron.m file row 521, it is a sentence:
if isempty(obj.He_int), obj.He_int = zeros(0,d+1); end
I found before this sentence was executed, obj.V was not defined as:
But after this sentence was executed, obj.V was calculated and got a matrix:
As you see, the sentence did not call obj.V directly but it did change obj.V. Could you explain to me what happened here? And how can I find the codes that changed obj.V. I think that is the bug I am looking for.
Related source codes are attached.
Thank you!

채택된 답변

Matt J
Matt J 2020년 12월 14일
편집: Matt J 2020년 12월 14일
obj.V is a Dependent property.
  댓글 수: 5
Matt J
Matt J 2020년 12월 14일
Yes, I would imagine.
Xin Shen
Xin Shen 2020년 12월 14일
Thank you very much, wish I can find the bug!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by