mat file loading problem with matlab2015b
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Abhinav
am 28 Apr. 2017
Beantwortet: Abhinav
am 2 Mai 2017
I recently started using Matlab2015b and i have a problem with loading mat files. I get the error "Index exceeds matrix dimensions", though i have been using the same mat files since a year or two for the simulation environment. The loading works if i clear all other workspace variables or if i use import function. But it doesnt work if i drag drop or use load function from script. i would like to have a solution besides clearing workspace variable everytime i want to load a mat file.
1 Kommentar
Adam
am 28 Apr. 2017
Does it work if you use the
S = load(...)
syntax to load your variables into fields of a struct? Loading variables from a file straight into a workspace that already contains a bunch of variables is always somewhat dodgy.
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Whos 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!