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

Più risposte (0)

Categorie

Scopri di più su Environment and Settings in Centro assistenza e File Exchange

Prodotti

Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by