如何从MATLAB中的.fig文件提取数据? [英] How can I extract data from a .fig file in MATLAB?

查看:71
本文介绍了如何从MATLAB中的.fig文件提取数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这真的很基础,但是我是MATLAB新手.打开.fig文件后,如何在命令窗口中实际使用绘制的数据?我所看到的就是情节.我不确定如何实际获取数据.

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. I'm not sure how to actually get the data.

推荐答案

实际上,您甚至不必显示图形即可获取数据. FIG文件以标准Matlab MAT格式存储,您可以使用内置的 load() 函数读取.图形句柄和数据存储在您可以轻松理解和处理的结构中.

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.

这篇关于如何从MATLAB中的.fig文件提取数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆