Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Is there a way to do if/then for properties?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 18 de Jul. de 2020
contains(T.Properties.CustomProperties.SourceFile, '_Units')
???
Image Analyst
el 18 de Jul. de 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
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!