导航:首页 > 文件教程 > 文件已在matlab中打开

文件已在matlab中打开

发布时间:2024-12-31 02:56:00

Ⅰ matlab成功安装后 到哪打开啊 怎么没有那种打开的图标

打开具体步骤如下:

1、在下载的的安装包中找到matlab的安装文件,打开之后,如图所示的以下文件夹。

Ⅱ 想用matlab打开一个文件夹,然后自己选取文件夹中一幅图像读取

[filename,pathname]=uigetfile('*.jpg','读取图片文件');%选择图片文件
ifisequal(filename,0)%判断是否选择
msgbox('没有选择任何图片');
else
pathfile=fullfile(pathname,filename);%获得图片路径
M=imread(pathfile);%将图片读入矩阵
image(M);%绘制图片
end

Ⅲ matlab如何用命令打开文件

在matlab中打开文件的几种方法如下:
1、load
(1)load:
如果matlab.mat存在,则导入.mat中的所有变量,如果不存在则返回error。
(2)load
filename:
将filename中的全部变量导入到工作区中
(3)load
filename
XYZ:将filename中的变量X,Y,Z导入到工作区中,如果是MAT文件,在指定变量时可用通配符“*”
2、whos
-file
matlab.mat
3、importdata
与load函数不同,将文件中的数据已结构体方式写入
(1)importdata('filename')
(2)A=importdata('filename')
4、open
Matlab使用open打开各种格式的文件,自动根据扩展名选择相应的编辑器。
open('filename'):
以结构体的方式打开在工作区中,与importdata('filename')类似;而load('filename')将文件中的变量导入工作区中,如果要访问其中的内容,需要以不同的格式进行。
5、从xls中读取数据
data1=xlsread('c:\users\file1.xls')
无论07版的xlsx还是03版的xls都用xlsread读。

Ⅳ 不知道怎么弄的,无法直接双击打开m文件了(双击后只是启动了matlab,没有打开文件),只能在matlab里打开

注意最新版的matlab,用右击.m文件打开然后查找文件关联到meditor.exe,你是找不到matlab安装程序下的编辑器程序的,而只能找到matlab.exe之类的无效关联。所以不如索性用help里面自带的办法:

打开matlab,然后打开help窗口,然后打开help目录找到第一个条目Matlab-》User's Guide->Desktop Tools and Development Environment ->Start up and Shutdown->Starting and Quitting the MATLAB Program:然后查看右边窗口的内容部分,点击Starting the MATLAB Program on Windows Platforms链接,窗口跳到下面点击Associating Files with MATLAB on Windows Platforms链接,然后窗口往下拉找到如下内容:
==========================================================================
Utilities to Set Up File Associations on Windows Platforms. If you are viewing this topic in the MATLAB Help browser, you can run one of the utilities provided here to create associations in the Windows environment for common file types used by MATLAB. This requires you to have permission to write to the HKEY_CLASSES_ROOT registry key, which typically requires power user or administrator privileges.

*

Run utility to associate files with .fig extension with MATLAB
*

Run utility to associate files with .m extension with MATLAB
*

Run utility to associate files with .mat extension with MATLAB
*

Run utility to associate files with .mdl extension with MATLAB
*

Run utility to associate MATLAB with MEX-files
*

Run utility to associate MATLAB with P-files
*

Run utility to associate MATLAB with all of these file types: FIG, M, MAT, MDL, MEX, and P

The file type icon in the Windows Explorer tool might not reflect the change immediately.
=====================================================
直接点击上面这个链接 Run utility to associate files with .m extension with MATLAB就ok了。然后回到windows下随便找个.m文件直接双击,整个世界就亮了!

阅读全文

与文件已在matlab中打开相关的资料

热点内容
视频文件损坏返回不了 浏览:656
如何判断网络被降速了 浏览:676
ps做成图片后怎么弄成文件 浏览:689
左侧导航栏css代码 浏览:952
钉钉传送文件最大多少兆 浏览:126
app下载哪里最全 浏览:599
word如何画大箭头 浏览:245
word批量转pdf工具21注册机 浏览:546
打印文档文件3000字需要多少钱 浏览:239
泊车助手app 浏览:147
pscs6完全自学教程 浏览:461
文件夹去不掉只读属性 浏览:203
qq怎么接收文件夹 浏览:35
javahashmapvalues 浏览:548
鼠标选定不了文件内容是坏了么 浏览:589
打开excel标准模板文件名 浏览:798
该文件名字不包含扩展名 浏览:565
华为备份文件 浏览:368
批量删除cpp文件代码注释的工具 浏览:312
下列哪些不属于可编程逻辑器件 浏览:963

友情链接