在Matlab中保存设置 [英] Saving settings in matlab

查看:146
本文介绍了在Matlab中保存设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

确实是一个愚蠢的问题……但是最近我整天都在从事某个项目,我的眼睛很痛.如何在Matlab中保存设置(准确地说是颜色设置),以便当白天和黑夜来临时可以重新加载它们或将它们交换为其他颜色?

A dumb question really ... but lately I've been working on some project all day long, and my eyes are hurting. How can one save settings (color settings to be exact) in matlab, so one can reload them / interchange them for different ones when day goes and night comes ?

一个子问题-matlab(在我看来是2008b,在这种情况下)将其设置保存在什么位置?它们可以备份吗?

A subquestion - where exactly does matlab (2008b in this case, I think) saves its settings ? Can they be backuped ?

推荐答案

设置存储在首选项目录中.对于每次安装的特定用户,您可以在命令提示符处使用prefdir命令找到它的位置.如果您需要更多信息,我在我们的官方博客上写了一些有关它的信息. http://blogs.mathworks.com/desktop/2009 /12/07/the-preferences-directory/

Settings are stored in the preferences directory. For a particular user per install you can find where it is using the prefdir command at the Command Prompt. I wrote a bit about it on our official blog, if you'd like more information. http://blogs.mathworks.com/desktop/2009/12/07/the-preferences-directory/

这篇关于在Matlab中保存设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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