How can I extract data from a .fig file in MATLAB?

后端 未结 4 2042
礼貌的吻别
礼貌的吻别 2021-01-01 11:53

I know this is really basic, but I am new to MATLAB. After opening a .fig file, how do you actually work with the plotted data in the command window? All I see is the plot.

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-01 12:38

    Actually, you don't even have to display the figure in order to get the data. FIG files are stored in the standard Matlab MAT format, that you can read using the built-in load() function. The figure handles and data are stored in a structure that you can easily understand and process.

提交回复
热议问题