使用Matlab在特定坐标中打开窗口?

时间:2013-04-04 19:49:33

标签: macos matlab window organization

我的代码使用以下方式打开4个文本文件:

system('open 1.txt'); %using MAC OS
system('open 2.txt');
system('open 3.txt');
system('open 4.txt');

并将它们显示为堆叠顺序:

enter image description here

但我想像这样向他们展示:

enter image description here

这可以使用matlab吗?

1 个答案:

答案 0 :(得分:0)

不使用纯Matlab,没有。真的,您需要研究如何以编程方式重新定位osx中的窗口,然后编写一个程序/ mexFunction将该部分包装起来供Matlab调用。

在Windows系统上我可能会寻找相关的Windows API调用,对于Mac我不确定。希望SO上的其他人知道。