导航:首页 > 文件教程 > 文件已在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中打开相关的资料

热点内容
ps3文件分割视频 浏览:280
微信图片一键转发软件 浏览:331
如何判断s200plc编程电缆 浏览:691
太原编程培训班哪个好 浏览:171
树叶吹奏教程 浏览:6
社交app带来了哪些社会问题 浏览:394
如何安装爱宝8800数据采集器 浏览:712
文件保存了怎么找不到了 浏览:476
彩票网站怎么辨真假 浏览:840
pr找不到该文件 浏览:963
java移除panel 浏览:354
jsp填充jsp 浏览:166
海关外贸大数据在哪里查 浏览:381
思特奇java笔试题 浏览:121
葫芦侠在手机中的文件名 浏览:813
plc编程应该怎么收钱 浏览:584
c语言中源文件由什么组成 浏览:890
linuxhttpdphp配置文件 浏览:607
拆单数据要怎么保存 浏览:17
mac电脑怎样压缩文件到100m 浏览:645

友情链接