How can I execute a script with the evalin command?
이전 댓글 표시
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
Fabian Gock
2017년 9월 19일
"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
2017년 9월 19일
Fabian Gock
2017년 9월 19일
Fabian Gock
2017년 9월 19일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!