Open UIGETFILE on 2nd monitor
Show older comments
How can I open a uisetfile or uigetfile dialog on a 2nd monitor?
Unfortunately I assume the answer will depend on the Matlab release.
[EDITED]: A meta-message in this question:
The source codes of uigetfile are shipped with Matlab, but they are not useful to change feature of the dialog. In opposite to this, the source code of cellfun is not included in modern Matlab versions anymore. What a pity.
Accepted Answer
More Answers (1)
Dr. Seis
on 20 Mar 2012
Here are some comments within uigetputfile_helper.m that suggest user defined locations are no longer supported in later releases.
% First, check to see if the user entered in two integers as the last two
% arguments. If so, they entered in the obsoleted 'x' and 'y' location
% parameters, which will be ignored. Warn the user, but since this is
% not a fatal error, trim these arguments off and continue.
% Next, see if there are any property-value pairs. The only
% properties allowed are 'MultiSelection' and 'Location'.
% 'Location' is being obsoleted; we will warn the user and ignore
% the value. Trim off the property-value pairs so we are left with
% just convenience arguments.
Looks like in older releases you could just put in a pair of coordinates... but no longer. Oh well.
Categories
Find more on App Building in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!