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 Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by