Matlab default app to open .m files

205 ビュー (過去 30 日間)
Daniel Devine
Daniel Devine 2017 年 10 月 24 日
コメント済み: Walter Roberson 2023 年 8 月 27 日
I am trying to associate Matlab with opening of .m files
It is not showing up in my default apps so I cannot make the change as specified below...
Any other ideas?
https://uk.mathworks.com/matlabcentral/answers/94655-how-do-i-associate-file-types-with-a-certain-application For Windows 8, Windows 10, and if the file extension is not in a list of file extensions:
1. Right click on any .m file in Windows and select Open With.
2. Select the More Apps option to show a full list of programs installed on your computer.
3. Select MATLAB and make sure the box at the bottom is checked that says "Always use this app to open .m files"
  6 件のコメント
talib
talib 2023 年 8 月 27 日
hi i am mechanical engineer and working on matlab for my working. can you tell me how can i get source program from matlab? kindly guide me......thanks
Walter Roberson
Walter Roberson 2023 年 8 月 27 日
My answer at https://www.mathworks.com/matlabcentral/answers/362994-matlab-default-app-to-open-m-files#comment_2862252 listed all of the known (legal) ways to get the source code to MATLAB.

サインインしてコメントする。

回答 (4 件)

Cam Salzberger
Cam Salzberger 2017 年 10 月 24 日
Hello Daniel,
I'm assuming you are on Windows 8 or 10. Here are instructions for Windows 10, which I believe applies to 8 as well.
If MATLAB is installed, but not showing in the list of available apps, you can:
  1. Click the "Look for another app on this PC" link. It will open a file-selector window.
  2. Navigate to MATLAB's installation directory.
  3. Find the matlab.exe file inside the bin directory. On Windows, this is typically C:\Program Files\MATLAB\(release)\bin\matlab.exe. If it is not there, you can always run matlabroot from within MATLAB to find out where it's installed.
  4. Select that executable and hit "OK".
Alternatively, you can go to Settings -> Apps -> Default apps -> Choose default apps by file type. If the file extension you are looking to change is missing, it's probably easier to do the first workflow.
-Cam
  8 件のコメント
talib
talib 2023 年 8 月 27 日
hi i am mechanical engineer and working on matlab for my working. can you tell me how can i get source program from matlab? kindly guide me......thanks
Walter Roberson
Walter Roberson 2023 年 8 月 27 日
To get the source program for MATLAB, you would need to get a job with Mathworks. (Even then, you would probably have to move up several levels to be authorized to access the entire source code.)
Or there is always the option of purchasing Mathworks -- the entire company, that is. It is a privately held company not on the stock market, so no-one really knows how much the owners would ask for it. I would be pretty sure it would be over $US 1 billion.

サインインしてコメントする。


Lígia Martins d'Oliveira
Lígia Martins d'Oliveira 2018 年 5 月 8 日
編集済み: Walter Roberson 2018 年 12 月 13 日
I had the same problem as you and it worked fine for me (R2018a, Windows 10)
  1 件のコメント
Umair Mughal
Umair Mughal 2019 年 10 月 15 日
Thanks brother, it also worked for me....

サインインしてコメントする。


Claudia Lopez
Claudia Lopez 2018 年 12 月 10 日
Hello, I just downloaded MATLAB R2018b and I am unable to open up any .m files in my desktop app. Please help by giving step by step instructions as i am very confused how to solve this issue.

Jonathan Portillo
Jonathan Portillo 2018 年 12 月 13 日
I cannot open m-files or the simulink model by just clicking on file. (I need to use the Open File with another app) how do i fix this issue for Matlab R2018a?openfilewith.JPG
  2 件のコメント
Walter Roberson
Walter Roberson 2018 年 12 月 13 日
Jonathan Portillo
Jonathan Portillo 2018 年 12 月 13 日
Thank you so much!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by