필터 지우기
필터 지우기

Import desktop layouts into a newer release of Matlab

조회 수: 1 (최근 30일)
Matt J
Matt J 2023년 9월 1일
편집: kei hin 2023년 9월 4일
I have created and saved two personalized layouts for my Matlab Desktop,
Now, however, I have installed a newer Matlab release and I would like to import these saved layouts from the old release to the new. How would I do so?
  댓글 수: 3
Matt J
Matt J 2023년 9월 3일
Well, I'm interested more broadly as well how I would transfer these definitions to a different computer. Or, if I have several Matlab installations on the same computer already, how might I import from one installation to another.
dpb
dpb 2023년 9월 3일
Would be nice to know and figure out how one goes about changing/using such.
In 30+ years with MATLAB, I've never messed with saving a desktop configuration, don't even know when that was introduced.
I've never had but one that I used and, until the last upgrade to R2021b (yeah, I'm pretty slow in upgrading, too) it seemed like that showed up as the previous had used. But, stuff was way different with R2021b with everything all docked in the command window and the editor not using tabs for files, etc., ... I recall it took quite a bit of messing around and having to search Answers on how to make things behave to finally get it back to something usable again, so it would be agoodthing™ to be able to save and restore that the next upgrade instead of having to go through the pain again. I really wish they would just leave the UI alone.

댓글을 달려면 로그인하십시오.

채택된 답변

kei hin
kei hin 2023년 9월 4일
이동: Matt J 2023년 9월 4일
I think you can back up a layout on the new version of MATLAB, then check your prefdir to see which file has been added, and then replace or add the new file with the old file of the layout.But it seems like a simple question, and the experts are still a little confused, am I not understanding the content of the question? I am in R2017b.
  댓글 수: 2
Matt J
Matt J 2023년 9월 4일
I think you can back up a layout on the new version of MATLAB
I assume you meant, "on the old version of MATLAB".
That does seem to work. Saving a layout results in an appropriately named .xml file in the prefdir, which I was then able to copy over to the prefdir of a different Matlab instatallion. I wonder, though, if there is a method that involves less 'hackery'.
kei hin
kei hin 2023년 9월 4일
편집: kei hin 2023년 9월 4일
I mean that you can find out which file stores layout information by watching the file change after backing up the layout. Because I have encountered a situation where I know where the file is stored on the old version, but I can't find it on the new version, so I need to make a backup on the new version to find out where the file is. Of course, this approach makes sense on both old and new versions of MATLAB. I probably can't find a better way until developers add the ability to transfer layouts

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by