Info

This question is closed. Reopen it to edit or answer.

gui matlab text file

1 view (last 30 days)
rohith  adulla
rohith adulla on 24 Jun 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
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

Answers (1)

Joseph Cheng
Joseph Cheng on 24 Jun 2014
I would try
fprintf(fid,'thetha value genrated is %f and frequency genrated is %f\n',[theta,Fm]);
  2 Comments
rohith  adulla
rohith adulla on 24 Jun 2014
thank you that worked thank you so much
Joseph Cheng
Joseph Cheng on 24 Jun 2014
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.

This question is closed.

Community Treasure Hunt

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

Start Hunting!