Notepad focus window
Show older comments
Here is what I am using to open a text file in MATLAB.
command = sprintf ( 'notepad %s', fullpathOfYourFile ); System ( command )
However, when it opens the notepad filename, the focus return to my figure and my filename goes in the background. I want my file that I opened to be the focus.
Can someone help me?
Accepted Answer
More Answers (0)
Categories
Find more on Desktop in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!