Open .m files in current MATLAB instance from Windows Powershell
8 次查看(过去 30 天)
显示 更早的评论
I am trying to open matlab files via matlab file.m from Windows PowerShell, so that I can proceed to edit them in MATLAB. However, when I run that, it starts a new instance of MATLAB.
What changes should I make in my computer/shell so that the above command opens the .m file in the existing MATLAB instance?
Ideally, I would like the changes to be permanent, and not have to write additional commands or flags every time I start a new instance of the PowerShell and wish to open an .m file.
Before upgrading to 2019a, I was used to just running matlab C:/Users/username/Documents/script_to_edit.m on PowerShell, and it would open in the instance of MATLAB that I had already open. Now, when I do that, it opens a new instance of MATLAB instead. I suppose it has to do with paths and/or aliases that were removed during the upgrade.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!