How can I execute a script with the evalin command?
Mostra commenti meno recenti
I want to execute a script in the base workspace, so I use
evalin('base', preparedata_v1)
The following error occures
Attempt to execute SCRIPT preparedata_v1 as a function:
\\..Pathofthescriptmfile...
Has anyone an idea, why matlab isn't running the scipt properly and how it can be done? Thanks in advance, -Fabian
5 Commenti
Fabian Gock
il 19 Set 2017
"How can I execute a script with the evalin command?"
Ugh.... why why Why WHY?
Why do you want to mix two awful ways of writing code (scripts and evalin) into something totally unmanageable?
Use Functions!!!!!!!!!!
Pass data. Avoid scripts.
Fabian Gock
il 19 Set 2017
Fabian Gock
il 19 Set 2017
Fabian Gock
il 19 Set 2017
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Large Files and Big Data in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!