Info

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

How to save the op_piont data to the file?

1 view (last 30 days)
wang Jingru
wang Jingru on 8 May 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
I ues operspec functiong,and ues findop get the op_point and op_report,how can i ues the fprintf function to save the datas as a txt file.Thank you

Answers (1)

Arkadiy Turevskiy
Arkadiy Turevskiy on 8 May 2013
Can you explain why you need to save to a text file and why you need to use fprintf?
One way you could get a text file is create a script that has two lines:
op_point
op_report
Publish it to doc and set publish option "include code" to false. Save doc file as txt.
Arkadiy

Community Treasure Hunt

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

Start Hunting!