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

6 views (last 30 days)
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

Accepted Answer

Stephen23
Stephen23 on 13 Oct 2023

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!