Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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

Advanced Search

Back to Topic List Back to Topic List  
Mike

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]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.