Filter löschen
Filter löschen

Extract vector from math file

7 Ansichten (letzte 30 Tage)
Lev Mihailov
Lev Mihailov am 23 Jul. 2020
Beantwortet: Arthur Roué am 23 Jul. 2020
Hello! I saved the file in mat format, but it is very large, can I highlight a specific part?

Antworten (2)

waqas am 23 Jul. 2020
You can define the variable which you want to extract:
More details on saving and loading .MAT files is provided in the link:

Arthur Roué
Arthur Roué am 23 Jul. 2020
You can use the matfile function to access and change variables in MAT-file without loading file into memory
matObj = matfile('C:/ABCdepobv.mat')
myVar = matObj.myVar
In this example, myVar is a variable in your MAT-File


Mehr zu Programming Utilities finden Sie in Help Center und File Exchange



Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by