gui matlab text file

hi guys i am developing a gui where on triggering the plot button it generates theta and fm values with which it plots the graph , now the thing is after triggering the plot button i need the values of theta and fm that are generated to be transferred to a text file so that i can have a record of values of my experiment , i am not able to find the problem till now , i am attaching the files here please if you can check the text file part in code at lines 187-198 and tell me whats going wrong i would be very great full

回答 (1 件)

Joseph Cheng
Joseph Cheng 2014 年 6 月 24 日

0 投票

I would try
fprintf(fid,'thetha value genrated is %f and frequency genrated is %f\n',[theta,Fm]);

2 件のコメント

rohith  adulla
rohith adulla 2014 年 6 月 24 日
thank you that worked thank you so much
Joseph Cheng
Joseph Cheng 2014 年 6 月 24 日
Not to make is sound like i want the points (i sort of do Q('-')9) but would you accept the answer? That way it doesn't sit in the limbo and it shows up as a solution to your question if anyone else comes across this problem.

この質問は閉じられています。

質問済み:

2014 年 6 月 24 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by