The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: File Association - does not open file
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 28
Registered: 12/6/04
File Association - does not open file
Posted: Aug 16, 2011 8:59 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am using windows 7 and Matlab 2011a.

I have .m and .fig files associated with matlab however when I open one outside of matlab, the program opens however the .m or .fig file are not opened. I just get the home windows of Matlab.

I tried the code below as I found on another thread with no luck.

commandwindow; cwd=pwd; cd([matlabroot '\toolbox\matlab\winfun\private']); fileassoc('add','.fig') ;cd(cwd); disp('Changed Windows file association. FIG-files are now associated with MATLAB.')

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.