Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Is there a way to do if/then for properties?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Image Analyst
il 18 Lug 2020
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
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!