how two use winopen command with path assigned in a Variable?

winopen 'C:\My Folder'
the above works fine, but i have path saved in a variable MyPath and want to use winopen command with path but gives error that folder doesnot exist.
MyPath = 'C:\My Folder'
winopen MyPath

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by