how to access variable from another function
3 ビュー (過去 30 日間)
古いコメントを表示
I want to build two functions, the first one has basic equations, and the second one for channel modeling, my question is how to access a variable from the first function in the second function? because I want to assign values for the variables available in the first function, in the second function for example I will try for different temperature values can any one help?
1 件のコメント
Stephen23
2018 年 10 月 20 日
Either pass them as arguments or use nested functions. What have you tried so far?
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Entering Commands についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!