questions regarding matlab functions?

hello fellas,
i got a serious doubt whether i can access the values of the variables declared inside the userdefined functions either during processing or after that... pleas help me.... thanks in advance...

 採用された回答

Image Analyst
Image Analyst 2012 年 9 月 30 日
編集済み: Image Analyst 2012 年 9 月 30 日

2 投票

Rest your fears: yes, you can.
You simply pass the variables you need to access out as return arguments for access after the function has run.
If something needs them while the function is busily running, then the function should pass them to the other function that needs them via that function's input argument list.
You might also look at the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F and read the Getting Started part of the help.

4 件のコメント

JK_1989
JK_1989 2012 年 9 月 30 日
thank u sir... and please refer to ur inbox sir..i sent a mail from matlab central. i need your great help on another issue too.
Walter Roberson
Walter Roberson 2012 年 9 月 30 日
Image Analyst does not accept email; his email account simply throws everything away. You will need to post your question.
Image Analyst
Image Analyst 2012 年 9 月 30 日
Correct (and I like it that way). Jeyakumar, I don't know that there is anything for anyone other than yourself to do at this point, but read this for future reference: http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
JK_1989
JK_1989 2012 年 9 月 30 日
ok sir...thanks a lot

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by