|
|
m file problem
I am using MATLAB 2010b on windows 7 x64. But the matlab can't recognize .m and .mat file. ever time, I double click on .m file, it just open another matlab.
How can I fix it?
|
|
0
|
|
|
|
Reply
|
DIA
|
9/18/2010 9:12:05 PM |
|
Hi,
Try to change file type
Go to
my computer
--> Tools
--> Folder options
--> Files type
go to m and delete it
push add new and add m
go to the details for 'M' file extension
push change and choose matlab to be the program which opens the files.
Good luck,
Ditza
|
|
0
|
|
|
|
Reply
|
DitzaN
|
9/19/2010 11:14:07 AM
|
|
"DIA D." <poovich@mavs.com> wrote in message <i739v5$b6r$1@fred.mathworks.com>...
> I am using MATLAB 2010b on windows 7 x64. But the matlab can't recognize .m and .mat file. ever time, I double click on .m file, it just open another matlab.
> How can I fix it?
Hi, Don't double click on the .m file, or .mat file. In the MATLAB session you have running already, make sure that the directory (folder) where the .m file and .mat file are located is in the MATLAB path. Assume this folder is c:\data
Enter:
>>addpath 'c:\data'
Then just load the .mat file from the command line. See the help for load.
You can also just run the .m file.
Wayne
|
|
0
|
|
|
|
Reply
|
Wayne
|
9/19/2010 11:29:04 AM
|
|
Run this in matlab:
commandwindow; cwd=pwd; cd([matlabroot '\toolbox\matlab\winfun
\private']); fileassoc('add','.m') ;cd(cwd); disp('Changed Windows
file association. M-files are now associated with MATLAB.');
|
|
0
|
|
|
|
Reply
|
nm3210
|
9/29/2010 3:35:39 AM
|
|
|
3 Replies
340 Views
(page loaded in 0.188 seconds)
Similiar Articles: m file problem - comp.soft-sys.matlabI am using MATLAB 2010b on windows 7 x64. But the matlab can't recognize .m and .mat file. ever time, I double click on .m file, it just open another... NFS server and File locking problem - comp.unix.solarisHi all, I'm investigating the following problem: An application on a server started to fail, and when using truss I found it failing thusly: ... Problem with using fsolve to solve nonlinear equations - comp.soft ...But my problem is: How ti eliminate the problem with writing a file and force fsolve to see the file function.m just after saving it, before running again the script. Tar problem, large file - comp.unix.solarisHi, I'm trying to create tar within large file(also tar - over 2gb) on Solaris 2,6 and Solaris 8. uname -a SunOS drop200 5.6 Generic_105181-07 sun4... problem when running hspice from matlab - comp.soft-sys.matlab ...m file problem - comp.soft-sys.matlab Same m-file code problem on running - comp.soft-sys.matlab ... When i want to execute the no problamatic m-file code with a different ... Problem using COM automation server out of .net-Application - comp ...NFS server and File locking problem - comp.unix.solaris COMPGROUPS.NET ... m investigating the following problem: An application on a server started to fail, and when using ... .m file integrated with simulink model - comp.soft-sys.matlab ...My problem is, I want to connect the .m file with the simulink model since I am building a controller where the camera part (simulink) is the feedback and the servo ... mexCallMATLAB : mxArray input and output problem - comp.soft-sys ...Help needed: read 3-dimensional array from a MAT-file in Fortran ... My problem: a 3-dimensional array, say data(m,n,p) where... ... After you are done with the data ... Jacobian matrix numerical at a specific point - comp.soft-sys ...Hello, I have a problem with numerical differentiation. I have a m-file which gives n=2553 values (a vector) for some input. The input consists in ... Simulink model printing problem - comp.soft-sys.matlabHow do I print a SIMULINK model from within an M-file? 3.5.Common Problems 3.5.1.Why does my printer hang when I try to ... For unconstrained problems, model predictive ... ENGINEERING PROBLEM SETThe three parts of the problem, a, b, and c are done together in the m-file Prob_1.m. %filename Prob_1.m clear all format short e global press a b R T % make these ... A Problem with Windows File Extensions - TheCAT - Web Services ...The PS1_solution.doc file might be the Microsoft Word document containing your solution to Problem Set 1. The tensileTest.m file is a MATLAB function (program). 7/20/2012 4:48:22 AM
|
|
|
|
|
|
|
|
|