Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Is there a way to do if/then for properties?
1 回表示 (過去 30 日間)
古いコメントを表示
I am adding sourcefile to my properties, but would like to have a conditional statement. If the file contains "_Units" then the file comes from place one
Else Place 2
So far, I have this :
T.Properties.CustomProperties.SourceFile
2 件のコメント
Image Analyst
2020 年 7 月 18 日
if contains(T.Properties.CustomProperties.SourceFile, '_Units', 'IgnoreCase', true)
% It comes from place one.
% So do something with that info, like put it into a different column of the table or whatever.
else
% It comes from place two.
end
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!