Ältere Kommentare anzeigen
I need to check if the current folder name contains words: YES or DYES.
such that:
if it contains YES:
a=1
if it contains DYES:
a=2
code I'm starting with:
Folder=pwd;
[PathStr,FolderName]=fileparts(Folder);
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink Check finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!