Global Variable
3 ビュー (過去 30 日間)
古いコメントを表示
I want know the procedure to pass a value of a variable from one function to another.
1 件のコメント
回答 (1 件)
Prashant Somani
2012 年 2 月 18 日
define it with global
Example:
function fn1()
global var1;
function fn2()
global var1
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Electrical Block Libraries についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!