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 ExchangeComputational 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