interaction between .m files.

1 回表示 (過去 30 日間)
akshay raj
akshay raj 2015 年 1 月 24 日
編集済み: per isakson 2015 年 2 月 4 日
Hi,
I am new to matlab scripting this may sound stupid.
so I have a .m file (test2.m) which is a GUI file and then one more file which is also a guy file (test.m).
so test.m has a function which gives out 128x14 matrix every second.
I can write the same function here in test2.m but it would use more memory so can i use the same variable here (the data).
thanks in advance.
  2 件のコメント
Geoff Hayes
Geoff Hayes 2015 年 2 月 2 日
Akshay - please clarify what you are attempting to do. Do you have two GUIs running simultaneously and you want to pass the data from one GUI to the other? If so, please see
per isakson
per isakson 2015 年 2 月 2 日
編集済み: per isakson 2015 年 2 月 4 日
  • "use more memory" &nbsp Don't worry about memory use until you know it might become a problem.
  • The first solution I come to think of is based on event ( "gives out 128x14 matrix every" ), notify and a listener in test2
However, that might not be what you need.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by