<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Changing system preferences programmatically	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=changing-system-preferences-programmatically</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Fri, 02 Jun 2023 14:51:27 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: François		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-521761</link>

		<dc:creator><![CDATA[François]]></dc:creator>
		<pubDate>Fri, 02 Jun 2023 14:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-521761</guid>

					<description><![CDATA[more than 10 years later it helps me after struggling few hours, so thanks you very much !]]></description>
			<content:encoded><![CDATA[<p>more than 10 years later it helps me after struggling few hours, so thanks you very much !</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Robin		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-509090</link>

		<dc:creator><![CDATA[Robin]]></dc:creator>
		<pubDate>Fri, 30 Oct 2020 12:49:22 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-509090</guid>

					<description><![CDATA[Hi Yair,

This has been a great help.
With the removal of com.mathworks sometime in the future (as announced in R2020b), is there an alternative?
For me, just getting a preference value programmatically would be enough. I am not interested in setting them.

Thanks,
Robin]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>This has been a great help.<br />
With the removal of com.mathworks sometime in the future (as announced in R2020b), is there an alternative?<br />
For me, just getting a preference value programmatically would be enough. I am not interested in setting them.</p>
<p>Thanks,<br />
Robin</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mohit		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-508681</link>

		<dc:creator><![CDATA[Mohit]]></dc:creator>
		<pubDate>Fri, 22 May 2020 12:11:13 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-508681</guid>

					<description><![CDATA[Hi Yair,
I am trying to change keybindings to certain keys for many systems is there any way that we can change these settings.
i can change in window dialogue like  Home&#062;Environment&#062;Preferences&#062;keyboard&#062;Shortcuts &#062; then i select shortcut and change ....can we do it through code like above ? I tried many things but didn&#039;t able get it to work]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
I am trying to change keybindings to certain keys for many systems is there any way that we can change these settings.<br />
i can change in window dialogue like  Home&gt;Environment&gt;Preferences&gt;keyboard&gt;Shortcuts &gt; then i select shortcut and change &#8230;.can we do it through code like above ? I tried many things but didn&#8217;t able get it to work</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-389427</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 28 Sep 2016 11:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-389427</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-389426&quot;&gt;Parvaneh&lt;/a&gt;.

@Parvaneh - you will need to check the web for a utility that has a command-line interface that does what you want, and then you can call that utility from Matlab using the &lt;i&gt;&lt;b&gt;system&lt;/b&gt;&lt;/i&gt; command.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-389426">Parvaneh</a>.</p>
<p>@Parvaneh &#8211; you will need to check the web for a utility that has a command-line interface that does what you want, and then you can call that utility from Matlab using the <i><b>system</b></i> command.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Parvaneh		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-389426</link>

		<dc:creator><![CDATA[Parvaneh]]></dc:creator>
		<pubDate>Wed, 28 Sep 2016 10:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-389426</guid>

					<description><![CDATA[Hi Yair,

I was looking for a way to change the setting of the system using matlab when I saw this post.
I wonder if you can help me with it.
I&#039;m connecting two monitors and I want to run a program from one monitor and make it run on the other one.
In the process I need to change setting from &#039;screen resolution&#039; in the control panel.
Could this be done with matlab?

I would appreciate any help.

Thanks,
Parvaneh]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>I was looking for a way to change the setting of the system using matlab when I saw this post.<br />
I wonder if you can help me with it.<br />
I&#8217;m connecting two monitors and I want to run a program from one monitor and make it run on the other one.<br />
In the process I need to change setting from &#8216;screen resolution&#8217; in the control panel.<br />
Could this be done with matlab?</p>
<p>I would appreciate any help.</p>
<p>Thanks,<br />
Parvaneh</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jon		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-376658</link>

		<dc:creator><![CDATA[jon]]></dc:creator>
		<pubDate>Fri, 13 May 2016 17:06:37 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-376658</guid>

					<description><![CDATA[Thank you!]]></description>
			<content:encoded><![CDATA[<p>Thank you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Scott Lowe		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-361086</link>

		<dc:creator><![CDATA[Scott Lowe]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 04:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-361086</guid>

					<description><![CDATA[Hi Yair,

Thanks for this article!

I took inspiration from it to create a package to import and export color schemes in MATLAB. This definitely would not have been possible without undocumentedmatlab!

It is available on &lt;a href=&quot;https://github.com/scottclowe/matlab-schemer&quot; rel=&quot;nofollow&quot;&gt;GitHub&lt;/a&gt; and &lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/53862-matlab-schemer&quot; rel=&quot;nofollow&quot;&gt;FileExchange&lt;/a&gt;.

All the best,
Scott]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>Thanks for this article!</p>
<p>I took inspiration from it to create a package to import and export color schemes in MATLAB. This definitely would not have been possible without undocumentedmatlab!</p>
<p>It is available on <a href="https://github.com/scottclowe/matlab-schemer" rel="nofollow">GitHub</a> and <a href="http://www.mathworks.com/matlabcentral/fileexchange/53862-matlab-schemer" rel="nofollow">FileExchange</a>.</p>
<p>All the best,<br />
Scott</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-334020</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 13 Oct 2014 11:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-334020</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-334015&quot;&gt;Oleg Komarov&lt;/a&gt;.

To complete the picture:

&lt;pre lang=&#039;matlab&#039;&gt;
&gt;&gt; ps = parallel.Settings
ps = 
 Parallel Settings Information
       DefaultProfile: local

    Profiles and Components: 

             Profiles: [1x1 parallel.settings.Profile]
  SchedulerComponents: [1x1 parallel.settings.schedulerComponent.Local]
    ProjectComponents: [0x0 parallel.settings.ProjectComponent]

&gt;&gt; getundoc(ps)
ans = 
            ConfigsMcrUserDataKey: &#039;ParallelConfigurationFile&#039;
    ConfigurationsLastUpgradeTime: &#039;???&#039;
    DefaultProfileChangedListener: [1x1 event.proplistener]
          DefaultProfileListeners: [1x2 event.listener]
             DefaultProfileObject: [1x1 parallel.settings.Profile]
           DummyEnforceInitClient: &#039;BMPA&#039;
                 ImportNameSuffix: &#039;_Import&#039;
         LastUpgradeSettingsLevel: [1x1 parallel.internal.types.SettingsLevel]
                 LocalProfileName: &#039;local&#039;
            McrUserDataNameSuffix: &#039;_mcruserdata&#039;
                       NodeFacade: [1x1 parallel.internal.settings.SettingsNodeFacade]
                             Pool: [1x1 parallel.internal.settings.PoolSettings]
               ProfilesCollection: [1x1 parallel.internal.settings.NamedNodesCollection]
           ProfilesMcrUserDataKey: &#039;ParallelProfile&#039;
      ProjectComponentsCollection: [1x1 parallel.internal.settings.NamedNodesCollection]
    SchedulerComponentsCollection: [1x1 parallel.internal.settings.TypedNodesCollection]
         UsingDeployedCollections: 0
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-334015">Oleg Komarov</a>.</p>
<p>To complete the picture:</p>
<pre lang='matlab'>
>> ps = parallel.Settings
ps = 
 Parallel Settings Information
       DefaultProfile: local

    Profiles and Components: 

             Profiles: [1x1 parallel.settings.Profile]
  SchedulerComponents: [1x1 parallel.settings.schedulerComponent.Local]
    ProjectComponents: [0x0 parallel.settings.ProjectComponent]

>> getundoc(ps)
ans = 
            ConfigsMcrUserDataKey: 'ParallelConfigurationFile'
    ConfigurationsLastUpgradeTime: '???'
    DefaultProfileChangedListener: [1x1 event.proplistener]
          DefaultProfileListeners: [1x2 event.listener]
             DefaultProfileObject: [1x1 parallel.settings.Profile]
           DummyEnforceInitClient: 'BMPA'
                 ImportNameSuffix: '_Import'
         LastUpgradeSettingsLevel: [1x1 parallel.internal.types.SettingsLevel]
                 LocalProfileName: 'local'
            McrUserDataNameSuffix: '_mcruserdata'
                       NodeFacade: [1x1 parallel.internal.settings.SettingsNodeFacade]
                             Pool: [1x1 parallel.internal.settings.PoolSettings]
               ProfilesCollection: [1x1 parallel.internal.settings.NamedNodesCollection]
           ProfilesMcrUserDataKey: 'ParallelProfile'
      ProjectComponentsCollection: [1x1 parallel.internal.settings.NamedNodesCollection]
    SchedulerComponentsCollection: [1x1 parallel.internal.settings.TypedNodesCollection]
         UsingDeployedCollections: 0
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Oleg Komarov		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-334015</link>

		<dc:creator><![CDATA[Oleg Komarov]]></dc:creator>
		<pubDate>Mon, 13 Oct 2014 10:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-334015</guid>

					<description><![CDATA[To change Parallel Pool settings:

&lt;pre lang=&quot;matlab&quot;&gt; 
ps = parallel.Settings;
ps.Pool
ans = 
  PoolSettings with properties:
                            AutoCreate: 0
                RestartOnClusterChange: 1
    RestartOnPreferredNumWorkersChange: 1
                           IdleTimeout: 30
                   PreferredNumWorkers: 12
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>To change Parallel Pool settings:</p>
<pre lang="matlab"> 
ps = parallel.Settings;
ps.Pool
ans = 
  PoolSettings with properties:
                            AutoCreate: 0
                RestartOnClusterChange: 1
    RestartOnPreferredNumWorkersChange: 1
                           IdleTimeout: 30
                   PreferredNumWorkers: 12
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jonas		</title>
		<link>https://undocumentedmatlab.com/articles/changing-system-preferences-programmatically#comment-121747</link>

		<dc:creator><![CDATA[Jonas]]></dc:creator>
		<pubDate>Wed, 14 Nov 2012 22:56:16 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=411#comment-121747</guid>

					<description><![CDATA[I just learned once more that it&#039;s extremely helpful to programmatically check for the correct &quot;MatfileSaveFormat&quot; property to avoid being unable to save (or later: load) your results. Thanks for your helpful post!]]></description>
			<content:encoded><![CDATA[<p>I just learned once more that it&#8217;s extremely helpful to programmatically check for the correct &#8220;MatfileSaveFormat&#8221; property to avoid being unable to save (or later: load) your results. Thanks for your helpful post!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
