reading a workspace value inside a function
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Asliddin Komilov
am 11 Jul. 2019
Beantwortet: Asliddin Komilov
am 19 Aug. 2019
I used xlsread in a function. now I have another function that uses this function, and that function is used by a script. So xlsread is used 100 of times uselessly and I am getting 'out of memory' error (this maybe is not the main cause of the error). if I take xlsread into the script, the function cannot read the read variable, even it is in the workspace. How do I make the function to use the variable, without making it input variable of the function?
thanks
10 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!