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

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Etiquetas

Preguntada:

el 13 de Oct. de 2023

Respondida:

el 13 de Oct. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by