Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
LOAD2VAR loads a specific variable
from a mat file and returns it.
If no variable name is provided,
the first variable is chosen.
Made as an example for "loading mat-files!"
USAGE:
>> a=magic(3);
>> b='not me';
>> save('tmp');
>> clear all;
>> c=load2var('tmp','a')
c = 8 1 6
3 5 7
4 9 2
>> c=load2var('tmp','b')
c = not me
>> c=load2var('tmp')
c = 8 1 6
3 5 7
4 9 2
>> c=load2var('tmp','d')
c = []
IT'S NOT FANCY BUT IT WORKS
Zitieren als
Michael Robbins (2026). load2var (https://de.mathworks.com/matlabcentral/fileexchange/6303-load2var), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.0.0.0 (530 Bytes)
-
Keine Lizenz
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.0.0.0 |
