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 个)

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

2 个评论

thank you that worked thank you so much
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.

此问题已关闭。

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by