導航:首頁 > 文件教程 > 文件已在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中打開相關的資料

熱點內容
word繁體轉簡體沒有 瀏覽:650
odex安卓怎麼合並app 瀏覽:810
照片畫框app哪個好 瀏覽:130
燃氣入網費國家什麼時候出台文件停止收取 瀏覽:485
學生計算機編程網課哪個好 瀏覽:126
xp系統賬戶刪除密碼忘記了 瀏覽:771
什麼是對程序進行模塊化編程 瀏覽:227
win10文件更改怎麼找回 瀏覽:83
安卓的QQ文件怎麼刪除 瀏覽:779
photoshopcs6免費教程 瀏覽:209
復雜網路理論及其應用汪小帆 瀏覽:343
不同平台數據集如何合並 瀏覽:599
網路主播是什麼軟體 瀏覽:939
thinkpad編程用什麼系列 瀏覽:172
ps照片導出電腦桌面丟失文件 瀏覽:976
好看的旅遊網站模板下載 瀏覽:72
手機里excel文件導出 瀏覽:577
holo手機文件管理器 瀏覽:198
XLS1個文件夾能存多少kB 瀏覽:703
revit2014建築設計教程 瀏覽:723

友情鏈接