How call a variable from function to main body?

I Want to use variable which is defined in function. So what command i can use to call this variable in main body? Because it showing me as undefined variable in main body execution.

답변 (1개)

madhan ravi
madhan ravi 2018년 12월 22일
편집: madhan ravi 2018년 12월 22일

0 개 추천

The best idea is to make the function with output with the variable that you want to use in the main body.

카테고리

도움말 센터 및 File Exchange에서 Computational Fluid Dynamics (CFD)에 대해 자세히 알아보기

질문:

2018년 12월 22일

편집:

2018년 12월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by