How to read and use folder name from Address Path?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Santosh Biradar
il 4 Set 2022
Commentato: Santosh Biradar
il 4 Set 2022
Hello
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1116365/image.png)
This SelMatPathOld is having path location 'D:\ninn\2_resimResult_0628\20220330'
I will first read only last part of above address path, i.e., 20220330.
In current dictionary, there is one folder "ComapareSummary"
So I need to change "ComapareSummary" as "20220330_SysLimDiff"
So, whatever comes in SelMatPathOld, the last folder name will be replaced "ComapareSummary" as "********_SysLimDiff"
I read movefile. But I can not understand how to change it dynamically.
Please let me know for brief.
Thank You
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!