How can i use the variable in the workspace in a different script

조회 수: 10 (최근 30일)
Luca Beretta
Luca Beretta 2021년 11월 30일
답변: Image Analyst 2021년 11월 30일
How can i use some variables generated by AN other script in the workspace, in a new different script

답변 (1개)

Image Analyst
Image Analyst 2021년 11월 30일
If they're in the base workspace, the other script should be able to see and use it. Not if it's inside a function though. For that you should pass the values into the function, rather than use assignin().

카테고리

Help CenterFile Exchange에서 ANOVA에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by