I want a certain folder to be created according to the number of elements given by the user.
dir_Cantilever_EPD_3000Elem = [pwd ... '\Results\Cantilever Beam Domain\3000 Elements\EPD']
I want the variable named and the name of the folder to be like that:
sprintf('dir_Cantilever_EPD_%dElem',fem.NElem)
where fem.NElem is the number of elements given. So I do not have to do lots of 'if' to check the number os elements.
Best Answer