Info

此问题已关闭。 请重新打开它进行编辑或回答。

gui matlab text file

1 次查看(过去 30 天)
rohith  adulla
rohith adulla 2014-6-24
关闭: MATLAB Answer Bot 2021-8-20
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
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.

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by