Month: February 2026
How can I configure a dataset that I have found online to be used for training a neural network for battery state of charge estimation?
I am working on a project for university in which I have to create a machine learning model for battery state of charge estimation. Per my supervisors recommendation I have settled on using a neural network, but was told that I cannot use the example datasets found on MATLAB and that I must find one online from industry. I have found a dataset that seems like it would be suitable for my project but I am not sure how to use this dataset within MATLAB. The dataset is from Technische Universität Berlin, found at the link https://depositonce.tu-berlin.de/items/7f68932b-4d43-4f49-a5d8-914b00039f87 , and all of the data is found within excel files. To create my neural network model I have been following the guide on the mathswork/MATLAB website but the example uses data that comes atatched as supporting files and does not show how to get my own data. The link for the guide I have been following is https://uk.mathworks.com/help/deeplearning/ug/prepare-data-for-battery-state-of-charge-estimation.html . Here the training data for the 4 different temperatures is simply loaded so I was wondering could I use these same lines but change the file name to the excel files for the different temperatures and also just load them, or are more steps involved? Any advice or resources that may help me would be appreciated as I am quite stumped at the moment.I am working on a project for university in which I have to create a machine learning model for battery state of charge estimation. Per my supervisors recommendation I have settled on using a neural network, but was told that I cannot use the example datasets found on MATLAB and that I must find one online from industry. I have found a dataset that seems like it would be suitable for my project but I am not sure how to use this dataset within MATLAB. The dataset is from Technische Universität Berlin, found at the link https://depositonce.tu-berlin.de/items/7f68932b-4d43-4f49-a5d8-914b00039f87 , and all of the data is found within excel files. To create my neural network model I have been following the guide on the mathswork/MATLAB website but the example uses data that comes atatched as supporting files and does not show how to get my own data. The link for the guide I have been following is https://uk.mathworks.com/help/deeplearning/ug/prepare-data-for-battery-state-of-charge-estimation.html . Here the training data for the 4 different temperatures is simply loaded so I was wondering could I use these same lines but change the file name to the excel files for the different temperatures and also just load them, or are more steps involved? Any advice or resources that may help me would be appreciated as I am quite stumped at the moment. I am working on a project for university in which I have to create a machine learning model for battery state of charge estimation. Per my supervisors recommendation I have settled on using a neural network, but was told that I cannot use the example datasets found on MATLAB and that I must find one online from industry. I have found a dataset that seems like it would be suitable for my project but I am not sure how to use this dataset within MATLAB. The dataset is from Technische Universität Berlin, found at the link https://depositonce.tu-berlin.de/items/7f68932b-4d43-4f49-a5d8-914b00039f87 , and all of the data is found within excel files. To create my neural network model I have been following the guide on the mathswork/MATLAB website but the example uses data that comes atatched as supporting files and does not show how to get my own data. The link for the guide I have been following is https://uk.mathworks.com/help/deeplearning/ug/prepare-data-for-battery-state-of-charge-estimation.html . Here the training data for the 4 different temperatures is simply loaded so I was wondering could I use these same lines but change the file name to the excel files for the different temperatures and also just load them, or are more steps involved? Any advice or resources that may help me would be appreciated as I am quite stumped at the moment. machine-learning, neural network, dataset, importing excel data, data import, data acquisition, battery, state-of-charge estimation, soc estimation, soc, state-of-charge MATLAB Answers — New Questions
Can the Import Tool dialog box (when closing) be disabled
Is there a way to diable the promt asking to confirm closing files in the Import Tool?
This is a new feature (probably from 2024). If I have multiple files open in the Import Tools (in different tabs) and I close the Tool (click the X) a dialog box appears for every single file asking to confirm.
I couldn’t find any way to disable this, and when I have many files open this becomes very tedious.Is there a way to diable the promt asking to confirm closing files in the Import Tool?
This is a new feature (probably from 2024). If I have multiple files open in the Import Tools (in different tabs) and I close the Tool (click the X) a dialog box appears for every single file asking to confirm.
I couldn’t find any way to disable this, and when I have many files open this becomes very tedious. Is there a way to diable the promt asking to confirm closing files in the Import Tool?
This is a new feature (probably from 2024). If I have multiple files open in the Import Tools (in different tabs) and I close the Tool (click the X) a dialog box appears for every single file asking to confirm.
I couldn’t find any way to disable this, and when I have many files open this becomes very tedious. import tool, dialog, close file MATLAB Answers — New Questions
Should Unity Value be Displayed when Multiplied by a symunit?
The following results look peculiar IMO. Shouldn’t a unit always be preceded by a value? I’ve never seen this convention before.
u = symunit;
mps = u.meter/u.sec;
x = 1*mps
x = reshape(1:4,2,2)*mpsThe following results look peculiar IMO. Shouldn’t a unit always be preceded by a value? I’ve never seen this convention before.
u = symunit;
mps = u.meter/u.sec;
x = 1*mps
x = reshape(1:4,2,2)*mps The following results look peculiar IMO. Shouldn’t a unit always be preceded by a value? I’ve never seen this convention before.
u = symunit;
mps = u.meter/u.sec;
x = 1*mps
x = reshape(1:4,2,2)*mps sympolic, unit MATLAB Answers — New Questions
When I use nlinfit, the sintax nlinfit(t0,p0 ,@(b,t) …),but if Ireplace nlinfit with fmincon, the sintax is not valid, why?
When I use nlinfit, the sintax nlinfit(t0,p0 ,@(b,t) …) works, but if Ireplace nlinfit with fmincon, the sintax is not valid, why?When I use nlinfit, the sintax nlinfit(t0,p0 ,@(b,t) …) works, but if Ireplace nlinfit with fmincon, the sintax is not valid, why? When I use nlinfit, the sintax nlinfit(t0,p0 ,@(b,t) …) works, but if Ireplace nlinfit with fmincon, the sintax is not valid, why? transferred MATLAB Answers — New Questions
Why does pcolor not display the full matrix?
There are several questions on here asking why pcolor does not display the full matrix. Most answers say something along the lines of "use image/imagesc instead". And then other people jump in and say pcolor is more powerful (because it allows irregularly spaced grids). In my case, I use irregularly spaced grids to display geophysical modelling results so image/imagesc does not work. Some people suggest first interpolating your irregularly-spaced data and then using image/imagesc. But, for me, the actual x and y vectors matter a lot (e.g. the location of a given model cell is very important).
I understand that pcolor removes the right column and the top row.
My question is: Why does this happen? Is this a feature or a bug?
From the pcolor help:
"The grid covers the region X=1:n and Y=1:m, where [m,n] = size(C)."
Maybe I’m misunderstanding, but doesn’t the grid cover the region X = 1:n-1 and Y=1:m-1? Why does it say it covers the full region if, in reality, it cuts off the top row and right column of the data matrix?
To me this is a bug that should be fixed and everyone seems to complain about it. But I figure there must be some deeper reason why it is not (or can’t be) fixed.
Here’s an example script:
%Some irregularly spaced vectors:
x = [0.5 0.8 1 1.6];
y = [1.2 1.4 2 2.2];
%Some data
r = ones(4,4); %Size = 4 by 5
r(1,1) = 3;
r(4,4) = 10;
r(2,2) = 10;
pcolor(x,y,r)
colorbar
% r(2,2) is in the correct spot
% and you can see r(1,1) as well.
% But you cannot see r(4,4) = 10There are several questions on here asking why pcolor does not display the full matrix. Most answers say something along the lines of "use image/imagesc instead". And then other people jump in and say pcolor is more powerful (because it allows irregularly spaced grids). In my case, I use irregularly spaced grids to display geophysical modelling results so image/imagesc does not work. Some people suggest first interpolating your irregularly-spaced data and then using image/imagesc. But, for me, the actual x and y vectors matter a lot (e.g. the location of a given model cell is very important).
I understand that pcolor removes the right column and the top row.
My question is: Why does this happen? Is this a feature or a bug?
From the pcolor help:
"The grid covers the region X=1:n and Y=1:m, where [m,n] = size(C)."
Maybe I’m misunderstanding, but doesn’t the grid cover the region X = 1:n-1 and Y=1:m-1? Why does it say it covers the full region if, in reality, it cuts off the top row and right column of the data matrix?
To me this is a bug that should be fixed and everyone seems to complain about it. But I figure there must be some deeper reason why it is not (or can’t be) fixed.
Here’s an example script:
%Some irregularly spaced vectors:
x = [0.5 0.8 1 1.6];
y = [1.2 1.4 2 2.2];
%Some data
r = ones(4,4); %Size = 4 by 5
r(1,1) = 3;
r(4,4) = 10;
r(2,2) = 10;
pcolor(x,y,r)
colorbar
% r(2,2) is in the correct spot
% and you can see r(1,1) as well.
% But you cannot see r(4,4) = 10 There are several questions on here asking why pcolor does not display the full matrix. Most answers say something along the lines of "use image/imagesc instead". And then other people jump in and say pcolor is more powerful (because it allows irregularly spaced grids). In my case, I use irregularly spaced grids to display geophysical modelling results so image/imagesc does not work. Some people suggest first interpolating your irregularly-spaced data and then using image/imagesc. But, for me, the actual x and y vectors matter a lot (e.g. the location of a given model cell is very important).
I understand that pcolor removes the right column and the top row.
My question is: Why does this happen? Is this a feature or a bug?
From the pcolor help:
"The grid covers the region X=1:n and Y=1:m, where [m,n] = size(C)."
Maybe I’m misunderstanding, but doesn’t the grid cover the region X = 1:n-1 and Y=1:m-1? Why does it say it covers the full region if, in reality, it cuts off the top row and right column of the data matrix?
To me this is a bug that should be fixed and everyone seems to complain about it. But I figure there must be some deeper reason why it is not (or can’t be) fixed.
Here’s an example script:
%Some irregularly spaced vectors:
x = [0.5 0.8 1 1.6];
y = [1.2 1.4 2 2.2];
%Some data
r = ones(4,4); %Size = 4 by 5
r(1,1) = 3;
r(4,4) = 10;
r(2,2) = 10;
pcolor(x,y,r)
colorbar
% r(2,2) is in the correct spot
% and you can see r(1,1) as well.
% But you cannot see r(4,4) = 10 pcolor, plotting, grid MATLAB Answers — New Questions
weird symbol mapping in OQPSK modulator
As I open the MATLAB’s OQPSK Modulator Baseband block (via Look Under Mask), there is a weird symbol mapping inside as this:
for binary symbol mapping: (0,1,2,3) –> (3,1,0,2)
for gray symbol mapping: (0,1,2,3) –> (3,1,2,0)
both are not any standard mappings nor differential! I wonder why?As I open the MATLAB’s OQPSK Modulator Baseband block (via Look Under Mask), there is a weird symbol mapping inside as this:
for binary symbol mapping: (0,1,2,3) –> (3,1,0,2)
for gray symbol mapping: (0,1,2,3) –> (3,1,2,0)
both are not any standard mappings nor differential! I wonder why? As I open the MATLAB’s OQPSK Modulator Baseband block (via Look Under Mask), there is a weird symbol mapping inside as this:
for binary symbol mapping: (0,1,2,3) –> (3,1,0,2)
for gray symbol mapping: (0,1,2,3) –> (3,1,2,0)
both are not any standard mappings nor differential! I wonder why? communication, modulation MATLAB Answers — New Questions
Adding a single left bracket and a single right bracket to a matrix
I want the following:
I get the following:
k = 13;
disp([‘Number of neutral strand = ‘ num2str(k)])
Rb = 1.269/2/12; % ft
disp([‘Radius of the circle passing through the centers of the neutral strands, Rb = ‘ num2str(Rb) ‘ ft’])
RDc = 0.498/2/12; % ft
disp([‘Phase conductor equivalent (self) radius, RDc = ‘ num2str(RDc) ‘ ft’])
RDs = 0.1019/2/12; % ft
disp([‘Neutral strand equivalent radius, RDs = ‘ num2str(RDs) ‘ ft’])
yag = (77.3619i)/(log(Rb/RDc)-(1/k)*(log(k*(RDs/Rb)))); %μS/mile
disp([‘Shunt admittance, yag = ‘ num2str(yag) ‘ μS/mile’])
Yabc = diag([yag,yag,yag]);
disp(Yabc)
temp = splitlines(formattedDisplayText(Yabc));
temp(2) = temp(2) + " μS/mile";
disp(char(temp))I want the following:
I get the following:
k = 13;
disp([‘Number of neutral strand = ‘ num2str(k)])
Rb = 1.269/2/12; % ft
disp([‘Radius of the circle passing through the centers of the neutral strands, Rb = ‘ num2str(Rb) ‘ ft’])
RDc = 0.498/2/12; % ft
disp([‘Phase conductor equivalent (self) radius, RDc = ‘ num2str(RDc) ‘ ft’])
RDs = 0.1019/2/12; % ft
disp([‘Neutral strand equivalent radius, RDs = ‘ num2str(RDs) ‘ ft’])
yag = (77.3619i)/(log(Rb/RDc)-(1/k)*(log(k*(RDs/Rb)))); %μS/mile
disp([‘Shunt admittance, yag = ‘ num2str(yag) ‘ μS/mile’])
Yabc = diag([yag,yag,yag]);
disp(Yabc)
temp = splitlines(formattedDisplayText(Yabc));
temp(2) = temp(2) + " μS/mile";
disp(char(temp)) I want the following:
I get the following:
k = 13;
disp([‘Number of neutral strand = ‘ num2str(k)])
Rb = 1.269/2/12; % ft
disp([‘Radius of the circle passing through the centers of the neutral strands, Rb = ‘ num2str(Rb) ‘ ft’])
RDc = 0.498/2/12; % ft
disp([‘Phase conductor equivalent (self) radius, RDc = ‘ num2str(RDc) ‘ ft’])
RDs = 0.1019/2/12; % ft
disp([‘Neutral strand equivalent radius, RDs = ‘ num2str(RDs) ‘ ft’])
yag = (77.3619i)/(log(Rb/RDc)-(1/k)*(log(k*(RDs/Rb)))); %μS/mile
disp([‘Shunt admittance, yag = ‘ num2str(yag) ‘ μS/mile’])
Yabc = diag([yag,yag,yag]);
disp(Yabc)
temp = splitlines(formattedDisplayText(Yabc));
temp(2) = temp(2) + " μS/mile";
disp(char(temp)) display brackets MATLAB Answers — New Questions
parfor loop error with plotting on an image
Hello, I have an image that I want to perform some analysis in regions using the parallel toolbox. To begin with I just want to visualise each region to ensure its correct first and have done this basic parfor loop
parfor i=1:10
plot(ax,xl+250,i*250,’c.’,’Markersize’,20);
% later do some analysis
end
But Im getting this error:
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: While loading an object of class ‘HTS_TestSoftware’:
Unable to load App Designer app object. Load not supported for matlab.apps.AppBase objects.
> In matlab.ui.control.UIAxes.convertAxes
In matlab.ui.control/UIAxes/convertToAxes
In matlab.ui.control/UIAxes/get.Axes
In parallel.internal.pool.optionallySerialize (line 10)
In parallel.internal.parfor/ParforEngine/buildParforController (line 111)
In parallel.internal.parfor/ParforEngine (line 81)
In parallel.parfor/PoolOptions/createEngine (line 32)
In parallel_function>@(initData,F)createEngine(M,initData,F,N) (line 442)
In parallel_function (line 459)
In HTS_TestSoftware/testButtonPushed (line 26748)
In matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 60)
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: While loading an object of class ‘HTS_TestSoftware’:
Unable to load App Designer app object. Load not supported for matlab.apps.AppBase objects.
> In matlab.ui.control.UIAxes.convertAxes
In matlab.ui.control/UIAxes/convertToAxes
In matlab.ui.control/UIAxes/get.Axes
In parallel.internal.pool.optionallySerialize (line 10)
In parallel.internal.parfor/ParforEngine/buildParforController (line 111)
In parallel.internal.parfor/ParforEngine (line 81)
In parallel.parfor/PoolOptions/createEngine (line 32)
In parallel_function>@(initData,F)createEngine(M,initData,F,N) (line 442)
In parallel_function (line 459)
In HTS_TestSoftware/testButtonPushed (line 26748)
In matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 60)
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Any suggestions please.Hello, I have an image that I want to perform some analysis in regions using the parallel toolbox. To begin with I just want to visualise each region to ensure its correct first and have done this basic parfor loop
parfor i=1:10
plot(ax,xl+250,i*250,’c.’,’Markersize’,20);
% later do some analysis
end
But Im getting this error:
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: While loading an object of class ‘HTS_TestSoftware’:
Unable to load App Designer app object. Load not supported for matlab.apps.AppBase objects.
> In matlab.ui.control.UIAxes.convertAxes
In matlab.ui.control/UIAxes/convertToAxes
In matlab.ui.control/UIAxes/get.Axes
In parallel.internal.pool.optionallySerialize (line 10)
In parallel.internal.parfor/ParforEngine/buildParforController (line 111)
In parallel.internal.parfor/ParforEngine (line 81)
In parallel.parfor/PoolOptions/createEngine (line 32)
In parallel_function>@(initData,F)createEngine(M,initData,F,N) (line 442)
In parallel_function (line 459)
In HTS_TestSoftware/testButtonPushed (line 26748)
In matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 60)
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: While loading an object of class ‘HTS_TestSoftware’:
Unable to load App Designer app object. Load not supported for matlab.apps.AppBase objects.
> In matlab.ui.control.UIAxes.convertAxes
In matlab.ui.control/UIAxes/convertToAxes
In matlab.ui.control/UIAxes/get.Axes
In parallel.internal.pool.optionallySerialize (line 10)
In parallel.internal.parfor/ParforEngine/buildParforController (line 111)
In parallel.internal.parfor/ParforEngine (line 81)
In parallel.parfor/PoolOptions/createEngine (line 32)
In parallel_function>@(initData,F)createEngine(M,initData,F,N) (line 442)
In parallel_function (line 459)
In HTS_TestSoftware/testButtonPushed (line 26748)
In matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 60)
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Any suggestions please. Hello, I have an image that I want to perform some analysis in regions using the parallel toolbox. To begin with I just want to visualise each region to ensure its correct first and have done this basic parfor loop
parfor i=1:10
plot(ax,xl+250,i*250,’c.’,’Markersize’,20);
% later do some analysis
end
But Im getting this error:
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: While loading an object of class ‘HTS_TestSoftware’:
Unable to load App Designer app object. Load not supported for matlab.apps.AppBase objects.
> In matlab.ui.control.UIAxes.convertAxes
In matlab.ui.control/UIAxes/convertToAxes
In matlab.ui.control/UIAxes/get.Axes
In parallel.internal.pool.optionallySerialize (line 10)
In parallel.internal.parfor/ParforEngine/buildParforController (line 111)
In parallel.internal.parfor/ParforEngine (line 81)
In parallel.parfor/PoolOptions/createEngine (line 32)
In parallel_function>@(initData,F)createEngine(M,initData,F,N) (line 442)
In parallel_function (line 459)
In HTS_TestSoftware/testButtonPushed (line 26748)
In matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 60)
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: While loading an object of class ‘HTS_TestSoftware’:
Unable to load App Designer app object. Load not supported for matlab.apps.AppBase objects.
> In matlab.ui.control.UIAxes.convertAxes
In matlab.ui.control/UIAxes/convertToAxes
In matlab.ui.control/UIAxes/get.Axes
In parallel.internal.pool.optionallySerialize (line 10)
In parallel.internal.parfor/ParforEngine/buildParforController (line 111)
In parallel.internal.parfor/ParforEngine (line 81)
In parallel.parfor/PoolOptions/createEngine (line 32)
In parallel_function>@(initData,F)createEngine(M,initData,F,N) (line 442)
In parallel_function (line 459)
In HTS_TestSoftware/testButtonPushed (line 26748)
In matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (line 60)
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Warning: Unable to save App Designer app object. Save not supported for matlab.apps.AppBase objects.
Any suggestions please. parfor, plot, ax MATLAB Answers — New Questions
The Final Countdown to Remove EWS from Exchange Online Begins
EWS Retirement from Exchange Online by May 2027
According to the Exchange team blog (5 February 2026), the sands of time are running out for Exchange Web Services (EWS). The next big date on the horizon is the disablement of EWS in Exchange Online, due in October 2026. Removing EWS from Exchange Online also impacts Outlook classic, and work is ongoing to eliminate the final vestiges of EWS from Outlook. The next step is the plan to “fully and permanently” disable EWS from April 1, 2027. The announcement is also posted in message center notification MC1227454.
Microsoft points out that EWS is nearly 20 years old. The protocol was designed at a time when Exchange servers functioned inside local datacenters, and the level of online threat was a pale shadow of what it is today. EWS was the only game in town for ISVS and other developers who wanted access to the contents of Exchange mailboxes, which is why EWS ended up being used for anything from backup products to mailbox import-export utilities.
The countdown to final eradication of EWS revolves around the EWSEnabled property in the Exchange Online tenant configuration. The full details of how the setting works are described in Microsoft’s post. Essentially, in October 2026 tenants will see the setting change from True to False to block EWS. They’ll be able to change the setting back to Null (the default) or True to restore EWS access.
The Allow List for Exchange Web Services Apps
Microsoft plans to support an allow list of apps permitted to use EWS. In a proactive step to help administrators, The new allow list for EWS apps takes precedence over the existing EWSApplicationAccessPolicy setting.
Microsoft says that they will create an allow list for tenants based on the set of apps observed to use EWS within each tenant. Tenants can then adjust the app allow list as they choose until the final phase-out commences on April 1, 2027. Of course, having an app list generated by Microsoft is nice, but understanding what those apps do and who uses the apps is more important, which is why it’s necessary to review the EWS usage reports in the Microsoft 365 admin center.
Timing for Exchange Web Services Retirement
Removing protocols from Exchange Online cannot be done across Microsoft 365 immediately. It takes time for the commands to adjust server configurations to ripple out across the hundreds of thousands of Exchange Online mailbox servers. Microsoft emphasizes that the process to disable EWS will start on April 1, 2027, so it’s unwise to plan for EWS access after that. As shown in their timeline (Figure 1), Microsoft expects that EWS will be completely one from Exchange Online in May 2027.

Exchange Web Services and ISVs
The plan is specific to Exchange Online and doesn’t affect EWS for Exchange Server. The Microsoft Graph is core to the removal of EWS. Microsoft says that they’re working hard to close the gaps that exist between EWS and current Graph API capabilities. Over the past few months, Microsoft has released an Exchange Admin API (a wrapper around Exchange PowerShell cmdlets) and the Graph userConfiguration API. Both are steps to help developers move code from EWS to Graph.
Gaps remain (like support for archive mailboxes and public folders) and it’s possible that EWS features will never make it to Graph. It’s just a fact of IT life that moving from one API to another seldom benefits from a perfect 1-to-1 match. Another issue is that the Graph APIs are currently accessed through the beta endpoint, which means that Microsoft can drop or dramatically change an API without a lot of warning. Customers and ISVs alike will want to see the APIs made available through the production (V1.0) Graph endpoint as soon as possible.
An on-premises variant of the Graph APIs doesn’t exist, so EWS will continue working for on-premises applications. This creates an interesting challenge for ISVs that offer products for both on-premises and cloud environments because two code bases will be required. Given the smaller on-premises addressable base, it’s possible that EWS-based products for the on-premises world will receive little or no further development.
The Exchange SE Question
Exchange SE is now the only supported version of Exchange Server. Microsoft makes it clear that only Exchange SE servers will support the Graph API calls to Exchange Online for rich co-existence (meaning features like access to Free/Busy information and MailTips) in hybrid environments. Microsoft made this point in an update to their post about security changes for hybrid deployments on February 3, but it’s easy to miss updates to nine-month-old posts.
In a nutshell, once Microsoft turns off EWS for Exchange Online in October 2026, hybrid deployments must be prepared to switch to Graph API requests using the dedicated hybrid application with mailboxes, and any on-premises mailbox that interacts with Exchange Online mailboxes must be hosted on Exchange SE.
There’s lots of work to be done to retire EWS. I hope that your tenant is prepared.
Support the work of the Office 365 for IT Pros team by subscribing to the Office 365 for IT Pros eBook. Your support pays for the time we need to track, analyze, and document the changing world of Microsoft 365 and Office 365. Only humans contribute to our work!
MatLab C++ Shared Dll library initialization problem
I am using Matlab 2013a and Visual Studio 2013. I am trying to use MatLab compiled dll from a C++ console application. My simple Matlab test dll and console application is compiled for 64bit machines (I made sure they are 64bit via dumpbin). I also have correct version of MCR installed on my machine (even if it’s not necessary).
I setup my compiler using "mbuild -setup" command.
I compile my .m file using this command line: "mcc -v -W cpplib:mylib -T link:lib myFunc" successfully.
In my console application, I include these libraries: mylib.lib, mclmcrrt.lib, mclmcr.lib, libmx.lib, libmat.lib
and use the libraries in this path "C:Program FilesMATLABR2013aexternlibwin64microsoft"
When I debug my program, it successfully initializes MCR using this call: "mclInitializeApplication(NULL, 0)" but when I call
"mylibInitialize()" in order to initialize my library, program crashes. It doesn’t even throw an axception therefore I cannot handle it using
try/catch block. It gives unhandled exception and access vialoation error message.
These are sample debug output messages I got;
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xercesc_2_7::NoSuchElementException at memory location 0x000000E263EF4E48.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xercesc_2_7::SchemaDateTimeException at memory location 0x000000E263EF4EB8.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xsd_binder::MalformedDocumentError at memory location 0x000000E263EF4E40.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xercesc_2_7::NoSuchElementException at memory location 0x000000E263EF4E48.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: boost::thread_interrupted at memory location 0x000000E2643FF630.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xsd_binder::MalformedDocumentError at memory location 0x000000E263EFA640.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: boost::thread_interrupted at memory location 0x000000E2642FFCD0.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000000E264EFF530.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: CryptoPP::AES_PHM_Decryption::InvalidCiphertextOrKey at memory location 0x000000E264EFB0F0.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: tfFailedException at memory location 0x000000E264EF4C10.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: varflowFailedException at memory location 0x000000E264EF9410.
The thread 0x3550 has exited with code 0 (0x0).
‘MatlabTest.exe’ (Win32): Loaded ‘C:Program FilesMATLABR2013abinwin64hgbuiltins.dll’. Cannot find or open the PDB file.
First-chance exception at 0x0000000000B46E60 (m_interpreter.dll) in MatlabTest.exe: 0xC0000005: Access violation reading location 0x0000000064EF3B90.
Unhandled exception at 0x0000000000B46E60 (m_interpreter.dll) in MatlabTest.exe: 0xC0000005: Access violation reading location 0x0000000064EF3B90.
The program ‘[12952] MatlabTest.exe’ has exited with code 0 (0x0).
I installed MCR to another machine and tried to run this console application. I got the same result.
I tried Loren’s Vigenere example too,
http://blogs.mathworks.com/loren/2011/02/03/creating-c-shared-libraries-and-dlls/#respond
It didn’t work either.
I couldn’t find any helpful answer on Matlab community or stackoverflow.
Do you have any idea why this is happening?
ThanksI am using Matlab 2013a and Visual Studio 2013. I am trying to use MatLab compiled dll from a C++ console application. My simple Matlab test dll and console application is compiled for 64bit machines (I made sure they are 64bit via dumpbin). I also have correct version of MCR installed on my machine (even if it’s not necessary).
I setup my compiler using "mbuild -setup" command.
I compile my .m file using this command line: "mcc -v -W cpplib:mylib -T link:lib myFunc" successfully.
In my console application, I include these libraries: mylib.lib, mclmcrrt.lib, mclmcr.lib, libmx.lib, libmat.lib
and use the libraries in this path "C:Program FilesMATLABR2013aexternlibwin64microsoft"
When I debug my program, it successfully initializes MCR using this call: "mclInitializeApplication(NULL, 0)" but when I call
"mylibInitialize()" in order to initialize my library, program crashes. It doesn’t even throw an axception therefore I cannot handle it using
try/catch block. It gives unhandled exception and access vialoation error message.
These are sample debug output messages I got;
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xercesc_2_7::NoSuchElementException at memory location 0x000000E263EF4E48.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xercesc_2_7::SchemaDateTimeException at memory location 0x000000E263EF4EB8.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xsd_binder::MalformedDocumentError at memory location 0x000000E263EF4E40.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xercesc_2_7::NoSuchElementException at memory location 0x000000E263EF4E48.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: boost::thread_interrupted at memory location 0x000000E2643FF630.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xsd_binder::MalformedDocumentError at memory location 0x000000E263EFA640.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: boost::thread_interrupted at memory location 0x000000E2642FFCD0.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000000E264EFF530.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: CryptoPP::AES_PHM_Decryption::InvalidCiphertextOrKey at memory location 0x000000E264EFB0F0.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: tfFailedException at memory location 0x000000E264EF4C10.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: varflowFailedException at memory location 0x000000E264EF9410.
The thread 0x3550 has exited with code 0 (0x0).
‘MatlabTest.exe’ (Win32): Loaded ‘C:Program FilesMATLABR2013abinwin64hgbuiltins.dll’. Cannot find or open the PDB file.
First-chance exception at 0x0000000000B46E60 (m_interpreter.dll) in MatlabTest.exe: 0xC0000005: Access violation reading location 0x0000000064EF3B90.
Unhandled exception at 0x0000000000B46E60 (m_interpreter.dll) in MatlabTest.exe: 0xC0000005: Access violation reading location 0x0000000064EF3B90.
The program ‘[12952] MatlabTest.exe’ has exited with code 0 (0x0).
I installed MCR to another machine and tried to run this console application. I got the same result.
I tried Loren’s Vigenere example too,
http://blogs.mathworks.com/loren/2011/02/03/creating-c-shared-libraries-and-dlls/#respond
It didn’t work either.
I couldn’t find any helpful answer on Matlab community or stackoverflow.
Do you have any idea why this is happening?
Thanks I am using Matlab 2013a and Visual Studio 2013. I am trying to use MatLab compiled dll from a C++ console application. My simple Matlab test dll and console application is compiled for 64bit machines (I made sure they are 64bit via dumpbin). I also have correct version of MCR installed on my machine (even if it’s not necessary).
I setup my compiler using "mbuild -setup" command.
I compile my .m file using this command line: "mcc -v -W cpplib:mylib -T link:lib myFunc" successfully.
In my console application, I include these libraries: mylib.lib, mclmcrrt.lib, mclmcr.lib, libmx.lib, libmat.lib
and use the libraries in this path "C:Program FilesMATLABR2013aexternlibwin64microsoft"
When I debug my program, it successfully initializes MCR using this call: "mclInitializeApplication(NULL, 0)" but when I call
"mylibInitialize()" in order to initialize my library, program crashes. It doesn’t even throw an axception therefore I cannot handle it using
try/catch block. It gives unhandled exception and access vialoation error message.
These are sample debug output messages I got;
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xercesc_2_7::NoSuchElementException at memory location 0x000000E263EF4E48.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xercesc_2_7::SchemaDateTimeException at memory location 0x000000E263EF4EB8.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xsd_binder::MalformedDocumentError at memory location 0x000000E263EF4E40.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xercesc_2_7::NoSuchElementException at memory location 0x000000E263EF4E48.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: boost::thread_interrupted at memory location 0x000000E2643FF630.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: xsd_binder::MalformedDocumentError at memory location 0x000000E263EFA640.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: boost::thread_interrupted at memory location 0x000000E2642FFCD0.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000000E264EFF530.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: CryptoPP::AES_PHM_Decryption::InvalidCiphertextOrKey at memory location 0x000000E264EFB0F0.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: tfFailedException at memory location 0x000000E264EF4C10.
First-chance exception at 0x00007FFA22761F08 in MatlabTest.exe: Microsoft C++ exception: varflowFailedException at memory location 0x000000E264EF9410.
The thread 0x3550 has exited with code 0 (0x0).
‘MatlabTest.exe’ (Win32): Loaded ‘C:Program FilesMATLABR2013abinwin64hgbuiltins.dll’. Cannot find or open the PDB file.
First-chance exception at 0x0000000000B46E60 (m_interpreter.dll) in MatlabTest.exe: 0xC0000005: Access violation reading location 0x0000000064EF3B90.
Unhandled exception at 0x0000000000B46E60 (m_interpreter.dll) in MatlabTest.exe: 0xC0000005: Access violation reading location 0x0000000064EF3B90.
The program ‘[12952] MatlabTest.exe’ has exited with code 0 (0x0).
I installed MCR to another machine and tried to run this console application. I got the same result.
I tried Loren’s Vigenere example too,
http://blogs.mathworks.com/loren/2011/02/03/creating-c-shared-libraries-and-dlls/#respond
It didn’t work either.
I couldn’t find any helpful answer on Matlab community or stackoverflow.
Do you have any idea why this is happening?
Thanks matlab compiler, mcc, c++, dll, crash MATLAB Answers — New Questions
Using simulink with two unrelated clocks (non-integer multiples of eachtoher)
I am recieving the following error in Simulink, using Model Composer:
Illegal period. Ensure that this block’s sample period is an integer multiple of the Simulink system period as configured in the Settings tab of the Vitis Model Composer Hub block.
Error occurred during "Block Configuration".
F1 = 16.0362MHz
F2 = 1.023MHz
I need to simulate with two different clocks: F1 and F2
The ratio of F1 and F2 are 15.6757
There is no GCD between F1 and F2.
I am all out of ideas.
I would like to generate a signal on 1.023MHz and sample it on the 16.0362M clock.I am recieving the following error in Simulink, using Model Composer:
Illegal period. Ensure that this block’s sample period is an integer multiple of the Simulink system period as configured in the Settings tab of the Vitis Model Composer Hub block.
Error occurred during "Block Configuration".
F1 = 16.0362MHz
F2 = 1.023MHz
I need to simulate with two different clocks: F1 and F2
The ratio of F1 and F2 are 15.6757
There is no GCD between F1 and F2.
I am all out of ideas.
I would like to generate a signal on 1.023MHz and sample it on the 16.0362M clock. I am recieving the following error in Simulink, using Model Composer:
Illegal period. Ensure that this block’s sample period is an integer multiple of the Simulink system period as configured in the Settings tab of the Vitis Model Composer Hub block.
Error occurred during "Block Configuration".
F1 = 16.0362MHz
F2 = 1.023MHz
I need to simulate with two different clocks: F1 and F2
The ratio of F1 and F2 are 15.6757
There is no GCD between F1 and F2.
I am all out of ideas.
I would like to generate a signal on 1.023MHz and sample it on the 16.0362M clock. clocking, simulink MATLAB Answers — New Questions
how to create single switch fault in packed submodules of mmc
how to create single switch fault in packed submodules of mmchow to create single switch fault in packed submodules of mmc how to create single switch fault in packed submodules of mmc switch fault MATLAB Answers — New Questions
RoadRunner HD Map create
I finished the example of compiling a protobuf file into c++ to generate a rrhd file.
But here, I tried to build the section I selected, but lane and lane boundary didn’t understand how to express the curve, how to specify the coordinates, etc., and I couldn’t find it.
Do I have to create a hd map from a compilation of protobuf files into c++??
I tried to create with matlab, but I couldn’t find a way to add a lane or express it as a curve.
Is there a document related to the above or a link to refer to it??I finished the example of compiling a protobuf file into c++ to generate a rrhd file.
But here, I tried to build the section I selected, but lane and lane boundary didn’t understand how to express the curve, how to specify the coordinates, etc., and I couldn’t find it.
Do I have to create a hd map from a compilation of protobuf files into c++??
I tried to create with matlab, but I couldn’t find a way to add a lane or express it as a curve.
Is there a document related to the above or a link to refer to it?? I finished the example of compiling a protobuf file into c++ to generate a rrhd file.
But here, I tried to build the section I selected, but lane and lane boundary didn’t understand how to express the curve, how to specify the coordinates, etc., and I couldn’t find it.
Do I have to create a hd map from a compilation of protobuf files into c++??
I tried to create with matlab, but I couldn’t find a way to add a lane or express it as a curve.
Is there a document related to the above or a link to refer to it?? roadrunner, c++, matlab MATLAB Answers — New Questions
After having used the command “appdesigner” at command window:When an app is running at app designer the same app is automatically running at the main window too.
After having used the command "appdesigner" at command window, the behavior of Matlab changed. Now on I can’t run an application at app designer and at same time run another script at main window. Both windows run the same programm whichever starts first. When an app is strating running at app designer the same app is automatically running at the main window too and vice versa. I used Matlab 10 hours a day 3 months ago with no such behavior: I cant run an app at app designer , stop it at a breakpoint and then use the main window to run a script searching at app variables etc any more.
Thankls in advance.After having used the command "appdesigner" at command window, the behavior of Matlab changed. Now on I can’t run an application at app designer and at same time run another script at main window. Both windows run the same programm whichever starts first. When an app is strating running at app designer the same app is automatically running at the main window too and vice versa. I used Matlab 10 hours a day 3 months ago with no such behavior: I cant run an app at app designer , stop it at a breakpoint and then use the main window to run a script searching at app variables etc any more.
Thankls in advance. After having used the command "appdesigner" at command window, the behavior of Matlab changed. Now on I can’t run an application at app designer and at same time run another script at main window. Both windows run the same programm whichever starts first. When an app is strating running at app designer the same app is automatically running at the main window too and vice versa. I used Matlab 10 hours a day 3 months ago with no such behavior: I cant run an app at app designer , stop it at a breakpoint and then use the main window to run a script searching at app variables etc any more.
Thankls in advance. appdesigner, app designer MATLAB Answers — New Questions
Microsoft Previews userConfiguration Graph API
UserConfiguration API Manages Exchange Folder Associated Items
On January 28, 2026, Microsoft launched the preview (beta) of the UserConfiguration Graph API. A userConfiguration object is a Folder Associated Item (FAI), a hidden MAPI item stored in Exchange Server and Exchange Online folders. FAIs have been in Exchange for many years. In the Exchange protocol documentation, FAIs are defined as:
A collection of Message objects that are stored in a Folder object and are typically hidden from view by email applications. An FAI Message object is used to store a variety of settings and auxiliary data, including forms, views, calendar options, favorites, and category lists.
In this context, userConfiguration objects are used to store user settings for applications like the Calendar and OWA. This usage leads to the name persistent application settings, which is how the Exchange Web Services (EWS) documentation refers to FAIs.
You can access FAIs in mailboxes using utilities like MFCMAPI. Figure 1 shows an example of an FAI from the associated items table for the Calendar folder.

Eradication of EWS Requires Access to FAIs
Why is a Graph API for FAIs important? The answer lies in Microsoft’s campaign to eradicate EWS from Exchange Online by October 2026. Applications that use EWS to store their settings in mailboxes need a replacement API to continue reading and updating settings in FAIs.
A user mailbox setting Graph API already exists to get and update settings like work hours and timezone used by Outlook. However, the API offers incomplete coverage of all settings and is limited to Microsoft applications. The API is not much use to ISVs with applications that depend on FAIs to hold application settings. This is the target audience for the userConfiguration API.
Example – Retrieving FAI Settings Stored Serialized XML
Access to configuration settings items requires the MailboxConfigItem.Read permission. Calendar work hours are stored in serialized XML. When retrieved, the Graph outputs the options as a Base64-encoded string, which must be decoded. For example:
("https://graph.microsoft.com/beta/users/{0}/mailFolders/Calendar/userConfigurations/WorkHours" -f $UserId)
[array]$Data = Invoke-MgGraphRequest -URI $Uri -Method Get -OutputType PSObject
[string]$Base64Convert = [Text.Encoding]::Utf8.GetString([Convert]::FromBase64String($Data.xmldata))
The same result can be gained by running the Get-MgBetaUserMailFolderUserConfiguration cmdlet from the Microsoft Graph PowerShell SDK (I used version 2.34).
$Data = Get-MgBetaUserMailFolderUserConfiguration -MailFolderId Calendar -UserConfigurationId WorkHours -UserId $UserId
To extract the work hours settings, the information stored in the decoded XML must be parsed. Here’s some code to extract and populate a PowerShell object with the settings:
# Parse calendar settings from the XML data
[xml]$doc = $Base64Convert
$ns = New-Object System.Xml.XmlNamespaceManager($doc.NameTable)
$ns.AddNamespace('w','WorkingHours.xsd')
$root = $doc.SelectSingleNode('//w:WorkHoursVersion1',$ns)
$tz = $root.SelectSingleNode('w:TimeZone',$ns)
$tzName = $tz.SelectSingleNode('w:Name',$ns).InnerText
$tzBias = [int]$tz.SelectSingleNode('w:Bias',$ns).InnerText
$std = $tz.SelectSingleNode('w:Standard',$ns)
$stdBias = [int]$std.SelectSingleNode('w:Bias',$ns).InnerText
$stdChange = $std.SelectSingleNode('w:ChangeDate',$ns)
$stdChangeDate = $stdChange.SelectSingleNode('w:Date',$ns).InnerText
$stdChangeTime = $stdChange.SelectSingleNode('w:Time',$ns).InnerText
$stdChangeDayOfWeek = $stdChange.SelectSingleNode('w:DayOfWeek',$ns).InnerText
$dst = $tz.SelectSingleNode('w:DaylightSavings',$ns)
$dstBias = [int]$dst.SelectSingleNode('w:Bias',$ns).InnerText
$dstChange = $dst.SelectSingleNode('w:ChangeDate',$ns)
$dstChangeDate = $dstChange.SelectSingleNode('w:Date',$ns).InnerText
$dstChangeTime = $dstChange.SelectSingleNode('w:Time',$ns).InnerText
$dstChangeDayOfWeek = $dstChange.SelectSingleNode('w:DayOfWeek',$ns).InnerText
$timeslot = $root.SelectSingleNode('w:TimeSlot',$ns)
$start = $timeslot.SelectSingleNode('w:Start',$ns).InnerText
$end = $timeslot.SelectSingleNode('w:End',$ns).InnerText
$workdays = $root.SelectSingleNode('w:WorkDays',$ns).InnerText
$CalendarOptions = [PSCustomObject]@{
TimeZoneName = $tzName
TimeZoneBiasMinutes = $tzBias
StandardBiasMinutes = $stdBias
StandardChangeDate = $stdChangeDate
StandardChangeTime = $stdChangeTime
StandardChangeDayOfWeek = $stdChangeDayOfWeek
DaylightBiasMinutes = $dstBias
DaylightChangeDate = $dstChangeDate
DaylightChangeTime = $dstChangeTime
DaylightChangeDayOfWeek = $dstChangeDayOfWeek
WorkStart = $start
WorkEnd = $end
WorkDays = $workdays
}
The output object looks something like this:
TimeZoneName : GMT Standard Time TimeZoneBiasMinutes : 0 StandardBiasMinutes : 0 StandardChangeDate : 00/10/05 StandardChangeTime : 02:00:00 StandardChangeDayOfWeek : 0 DaylightBiasMinutes : -60 DaylightChangeDate : 00/03/05 DaylightChangeTime : 01:00:00 DaylightChangeDayOfWeek : 0 WorkStart : 09:00:00 WorkEnd : 18:00:00 WorkDays : Monday Tuesday Wednesday Thursday Friday
Example – Retrieving FAI Settings from Structured Data
An FAI that uses structured data to store its information uses key-value pairs. Calendar settings are a good example of the type. To retrieve the settings, run the request and extract the structuredData property:
$Uri = ("https://graph.microsoft.com/beta/users/{0}/mailFolders/Calendar/userConfigurations/Calendar" -f $UserId)
[array]$Data = Invoke-MgGraphRequest -URI $Uri -OutputType PsObject | Select-Object -ExpandProperty structuredData
Now it’s a matter of processing each key-value pair to extract the name of the setting and its value:
ForEach ($Setting in $Data) {
[string]$SettingName = $Setting.keyEntry.values
[string]$SettingValue = $Setting.valueEntry.values
Write-Host ("{0} : {1}" -f $SettingName, $SettingValue)
}
The output should be something like this:
AutomateProcessing : 1
MinimumDurationInMinutes : 0
piReminderUpgradeTime : 215747402
AllBookInPolicy : True
AllRequestOutOfPolicy : False
piAutoDeleteReceipts : False
AllowConflicts : False
AddAdditionalResponse : False
piShowWorkHourOnly : 1
AllowMultipleResources : True
piGroupCalendarShowDirectReports : True
ScheduleOnlyDuringWorkHours : False
EnforceSchedulingHorizon : True
piShowFreeItems : 0
AllRequestInPolicy : False
piRemindDefault : 15
calAssistNoiseReduction : True
piAutoProcess : True
ConflictPercentageAllowed : 0
AllowDistributionGroup : True
piGroupCalendarShowCoworkers : True
AllowRecurringMeetings : True
OLPrefsVersion : 1
piGroupCalendarShowMyDepartment : True
RemoveForwardedMeetingNotifications : True
EnforceCapacity : False
MaximumConflictInstances : 0
EnforceAdjacencyAsOverlap : False
MaximumDurationInMinutes : 1440
BookingWindowInDays : 180
No Immediate Use for Microsoft 365 Tenants
I doubt very much if a Microsoft 365 tenant administrator will find much use for the userConfiguration Graph API. However, it is a step forward in the process to eradicate EWS from Exchange Online, so it’s very welcome from that perspective, and it’s always nice to know what goes on behind the scenes…
So much change, all the time. It’s a challenge to stay abreast of all the updates Microsoft makes across the Microsoft 365 ecosystem. Subscribe to the Office 365 for IT Pros eBook to receive insights updated monthly into what happens within Microsoft 365, why it happens, and what new features and capabilities mean for your tenant.
Updates in two of our core priorities
Satya Nadella, Chairman and CEO, posted the below message to employees on Viva Engage this morning.
I am excited to share a couple updates in two of our core priorities: security and quality. Hayete Gallot is rejoining Microsoft as Executive Vice President, Security, reporting to me. I’ve also asked Charlie Bell to take on a new role focused on engineering quality, reporting to me.
Charlie and I have been planning this transition for some time, given his desire to move from being an org leader to being an IC engineer. And I love how energized he is to practice this craft here day in and day out!
Hayete joins us from Google where she was President, Customer Experience for Google Cloud. Before that, she spent more than 15 years at Microsoft with senior leadership roles across engineering and sales, playing multiple critical roles in building two of our biggest franchises – Windows and Office, leading our commercial solution areas’ go-to-market efforts. And she was instrumental in the design and implementation of our Security Solution Area. She brings an ethos that combines product building with value realization for customers, which is critical right now.
As we shared during our quarterly earnings last week, we have great momentum in security, including progress with Security Copilot agents, strong Purview adoption, and continued customer growth, and we will build on this.
We have a deep bench of talent and leaders across our security business, and this team will now report to Hayete. Additionally, Ales Holecek will take on a new role as Chief Architect for Security, reporting to Hayete. Ales has spent years leading architecture and development across some of our most important platforms and will help bring that same sensibility to security and its connections back to our existing scale businesses and the Agent Platform.
As we shared yesterday, we have a new operating rhythm with commercial cohorts, and Hayete and her team will now be accountable for our security product rhythms as part of this process.
Charlie built our Security, Compliance, Identity, and Management organization and helped rally the company behind the Secure Future Initiative. And we’re fortunate to have his continued focus and leadership on another one of our top priorities. With our Quality Excellence Initiative, we have increased accountability and accelerated progress against our engineering objectives to ensure we always deliver durable, high quality-experiences at global scale. And Charlie will partner closely with Scott Guthrie and Mala Anand on this work.
I’m excited to welcome Hayete back to Microsoft to advance this mission critical work, and grateful to Charlie for all he has done for our security business and what he will continue to do for the company.
Satya
The post Updates in two of our core priorities appeared first on The Official Microsoft Blog.
Satya Nadella, Chairman and CEO, posted the below message to employees on Viva Engage this morning. I am excited to share a couple updates in two of our core priorities: security and quality. Hayete Gallot is rejoining Microsoft as Executive Vice President, Security, reporting to me. I’ve also asked Charlie Bell to take on a…
The post Updates in two of our core priorities appeared first on The Official Microsoft Blog.Read More
addRule throws “Do not use a rule keyword as a variable name.”
I get the error on line 44 of my code: fis = addRule(fis,all); I’ve tried changing the name of the variable name (all) to other names, and the fis. I’ve removed spaces from my variables or renamed them completely.
% Create a Fuzzy Inference System (FIS) with the name "IFR"
fis = mamfis(‘Name’, ‘IFR’);
% Add a variable "input" to the FIS
fis = addInput(fis, [0 200], ‘Name’, ‘MAP_mm’);
% Add membership functions for variable "input"
fis = addMF(fis, "MAP_mm", "trapmf", [0 0 55 75], ‘Name’,"Low");
fis = addMF(fis, "MAP_mm", "trapmf", [55 75 100 120], ‘Name’,"Normal");
fis = addMF(fis, "MAP_mm", "trapmf", [100 120 200 200], ‘Name’,"High");
% HOU trapezoidal
fis = addInput(fis, [0 200], ‘Name’, ‘HOU_ml-hr’);
% HOU Low trapezoidal
fis = addMF(fis, "HOU_ml-hr", "trapmf", [0 0 30 40], ‘Name’,"Low");
% HOU Normal trapezoidal
fis = addMF(fis, "HOU_ml-hr", "trapmf", [30 40 100 125], ‘Name’,"Normal");
% HOU High trapezoidal
fis = addMF(fis, "HOU_ml-hr", "trapmf", [100 125 200 200], ‘Name’,"High");
% Add output variable to the FIS
fis = addOutput(fis, [0 2000], ‘Name’, ‘IFR_ml-hr’);
% Add membership functions for output variable
fis = addMF(fis, "IFR_ml-hr", "trapmf", [0 0 60 100], ‘Name’,"Low");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [0 100 200 400], ‘Name’,"Maintain");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [200 400 600 800], ‘Name’,"Moderate");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [600 800 1000 1500], ‘Name’,"High");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [1000 1500 2000 2000], ‘Name’,"Very_High");
% Create Rules for the FIS
r1 = "If HOU_ml-hr == Low & MAP_mm == Low => IFR_ml-hr == Very_High";
r2 = "If HOU_ml-hr == Normal & MAP_mm == Low => IFR_ml-hr == High";
r3 = "If HOU_ml-hr == High & MAP_mm == Low => IFR_ml-hr == Moderate";
r4 = "If HOU_ml-hr == Low & MAP_mm == Normal => IFR_ml-hr == Moderate";
r5 = "If HOU_ml-hr == Low & MAP_mm == High => IFR_ml-hr == Low";
r6 = "If HOU_ml-hr == Normal & MAP_mm == Normal => IFR_ml-hr == Maintain";
r7 = "If HOU_ml-hr == Normal & MAP_mm == High => IFR_ml-hr == Low";
r8 = "If HOU_ml-hr == High & MAP_mm == Normal =>IFR_ml-hr == Maintain";
r9 = "If HOU_ml-hr == High & MAP_mm == High => IFR_ml-hr == Low";
all = [r1 r2 r3 r4 r5 r6 r7 r8 r9];
% Add rules and enable rule viewing/debugging
fis = addRule(fis,all);
% Evaluate the FIS for inputs [MAP HOU]
sampleInput = [110 120; 60 25; 30 150; 180 90];
out = evalfis(fis, sampleInput);
% Plot membership functions
subplot(3,1,1)
plotmf(fis, ‘input’, 1)
subplot(3,1,2)
plotmf(fis, ‘input’, 2)
subplot(3,1,3)
plotmf(fis, ‘output’,3)I get the error on line 44 of my code: fis = addRule(fis,all); I’ve tried changing the name of the variable name (all) to other names, and the fis. I’ve removed spaces from my variables or renamed them completely.
% Create a Fuzzy Inference System (FIS) with the name "IFR"
fis = mamfis(‘Name’, ‘IFR’);
% Add a variable "input" to the FIS
fis = addInput(fis, [0 200], ‘Name’, ‘MAP_mm’);
% Add membership functions for variable "input"
fis = addMF(fis, "MAP_mm", "trapmf", [0 0 55 75], ‘Name’,"Low");
fis = addMF(fis, "MAP_mm", "trapmf", [55 75 100 120], ‘Name’,"Normal");
fis = addMF(fis, "MAP_mm", "trapmf", [100 120 200 200], ‘Name’,"High");
% HOU trapezoidal
fis = addInput(fis, [0 200], ‘Name’, ‘HOU_ml-hr’);
% HOU Low trapezoidal
fis = addMF(fis, "HOU_ml-hr", "trapmf", [0 0 30 40], ‘Name’,"Low");
% HOU Normal trapezoidal
fis = addMF(fis, "HOU_ml-hr", "trapmf", [30 40 100 125], ‘Name’,"Normal");
% HOU High trapezoidal
fis = addMF(fis, "HOU_ml-hr", "trapmf", [100 125 200 200], ‘Name’,"High");
% Add output variable to the FIS
fis = addOutput(fis, [0 2000], ‘Name’, ‘IFR_ml-hr’);
% Add membership functions for output variable
fis = addMF(fis, "IFR_ml-hr", "trapmf", [0 0 60 100], ‘Name’,"Low");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [0 100 200 400], ‘Name’,"Maintain");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [200 400 600 800], ‘Name’,"Moderate");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [600 800 1000 1500], ‘Name’,"High");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [1000 1500 2000 2000], ‘Name’,"Very_High");
% Create Rules for the FIS
r1 = "If HOU_ml-hr == Low & MAP_mm == Low => IFR_ml-hr == Very_High";
r2 = "If HOU_ml-hr == Normal & MAP_mm == Low => IFR_ml-hr == High";
r3 = "If HOU_ml-hr == High & MAP_mm == Low => IFR_ml-hr == Moderate";
r4 = "If HOU_ml-hr == Low & MAP_mm == Normal => IFR_ml-hr == Moderate";
r5 = "If HOU_ml-hr == Low & MAP_mm == High => IFR_ml-hr == Low";
r6 = "If HOU_ml-hr == Normal & MAP_mm == Normal => IFR_ml-hr == Maintain";
r7 = "If HOU_ml-hr == Normal & MAP_mm == High => IFR_ml-hr == Low";
r8 = "If HOU_ml-hr == High & MAP_mm == Normal =>IFR_ml-hr == Maintain";
r9 = "If HOU_ml-hr == High & MAP_mm == High => IFR_ml-hr == Low";
all = [r1 r2 r3 r4 r5 r6 r7 r8 r9];
% Add rules and enable rule viewing/debugging
fis = addRule(fis,all);
% Evaluate the FIS for inputs [MAP HOU]
sampleInput = [110 120; 60 25; 30 150; 180 90];
out = evalfis(fis, sampleInput);
% Plot membership functions
subplot(3,1,1)
plotmf(fis, ‘input’, 1)
subplot(3,1,2)
plotmf(fis, ‘input’, 2)
subplot(3,1,3)
plotmf(fis, ‘output’,3) I get the error on line 44 of my code: fis = addRule(fis,all); I’ve tried changing the name of the variable name (all) to other names, and the fis. I’ve removed spaces from my variables or renamed them completely.
% Create a Fuzzy Inference System (FIS) with the name "IFR"
fis = mamfis(‘Name’, ‘IFR’);
% Add a variable "input" to the FIS
fis = addInput(fis, [0 200], ‘Name’, ‘MAP_mm’);
% Add membership functions for variable "input"
fis = addMF(fis, "MAP_mm", "trapmf", [0 0 55 75], ‘Name’,"Low");
fis = addMF(fis, "MAP_mm", "trapmf", [55 75 100 120], ‘Name’,"Normal");
fis = addMF(fis, "MAP_mm", "trapmf", [100 120 200 200], ‘Name’,"High");
% HOU trapezoidal
fis = addInput(fis, [0 200], ‘Name’, ‘HOU_ml-hr’);
% HOU Low trapezoidal
fis = addMF(fis, "HOU_ml-hr", "trapmf", [0 0 30 40], ‘Name’,"Low");
% HOU Normal trapezoidal
fis = addMF(fis, "HOU_ml-hr", "trapmf", [30 40 100 125], ‘Name’,"Normal");
% HOU High trapezoidal
fis = addMF(fis, "HOU_ml-hr", "trapmf", [100 125 200 200], ‘Name’,"High");
% Add output variable to the FIS
fis = addOutput(fis, [0 2000], ‘Name’, ‘IFR_ml-hr’);
% Add membership functions for output variable
fis = addMF(fis, "IFR_ml-hr", "trapmf", [0 0 60 100], ‘Name’,"Low");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [0 100 200 400], ‘Name’,"Maintain");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [200 400 600 800], ‘Name’,"Moderate");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [600 800 1000 1500], ‘Name’,"High");
fis = addMF(fis, "IFR_ml-hr", "trapmf", [1000 1500 2000 2000], ‘Name’,"Very_High");
% Create Rules for the FIS
r1 = "If HOU_ml-hr == Low & MAP_mm == Low => IFR_ml-hr == Very_High";
r2 = "If HOU_ml-hr == Normal & MAP_mm == Low => IFR_ml-hr == High";
r3 = "If HOU_ml-hr == High & MAP_mm == Low => IFR_ml-hr == Moderate";
r4 = "If HOU_ml-hr == Low & MAP_mm == Normal => IFR_ml-hr == Moderate";
r5 = "If HOU_ml-hr == Low & MAP_mm == High => IFR_ml-hr == Low";
r6 = "If HOU_ml-hr == Normal & MAP_mm == Normal => IFR_ml-hr == Maintain";
r7 = "If HOU_ml-hr == Normal & MAP_mm == High => IFR_ml-hr == Low";
r8 = "If HOU_ml-hr == High & MAP_mm == Normal =>IFR_ml-hr == Maintain";
r9 = "If HOU_ml-hr == High & MAP_mm == High => IFR_ml-hr == Low";
all = [r1 r2 r3 r4 r5 r6 r7 r8 r9];
% Add rules and enable rule viewing/debugging
fis = addRule(fis,all);
% Evaluate the FIS for inputs [MAP HOU]
sampleInput = [110 120; 60 25; 30 150; 180 90];
out = evalfis(fis, sampleInput);
% Plot membership functions
subplot(3,1,1)
plotmf(fis, ‘input’, 1)
subplot(3,1,2)
plotmf(fis, ‘input’, 2)
subplot(3,1,3)
plotmf(fis, ‘output’,3) addrule MATLAB Answers — New Questions
How can I extract the numerical array from a hypercube object?
Hi! I’ve been using the hyperspectral library for the image processing toolbox for some years now. In the beggining, when a variable of class hypercube was created, it was storing the nomerical array (i.e. the spectral image) in a struct way that you could acces via dot indexing, for instance:
spectral_image = cube.DataCube;
However this seems not to be working anymore. Instead if I try this, I get a string instead of a numerical array. I’ve cheked and there is a funcion called gather which is supposed to be for this. I have also tried:
spectral_image = gather(cube);
But it is also not working. I get the following error, but my spectral image fits more than enough in my RAM, so I am sure this is not a problem.
Dot indexing is not supported for variables of this type.
Error in hypercube/gather (line 1398)
if isa(obj.BlockedDataCube.Adapter,’images.blocked.InMemory’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
The problem is that I have spectral images stored in files in hypercube class that I saved some time ago with Matlab R2023 version or even earlier, but now I can not access directly to this numerical arrays that previously were perfectly fitting in my RAM.
Any clue about how could I fix this?
Thanks in advance.Hi! I’ve been using the hyperspectral library for the image processing toolbox for some years now. In the beggining, when a variable of class hypercube was created, it was storing the nomerical array (i.e. the spectral image) in a struct way that you could acces via dot indexing, for instance:
spectral_image = cube.DataCube;
However this seems not to be working anymore. Instead if I try this, I get a string instead of a numerical array. I’ve cheked and there is a funcion called gather which is supposed to be for this. I have also tried:
spectral_image = gather(cube);
But it is also not working. I get the following error, but my spectral image fits more than enough in my RAM, so I am sure this is not a problem.
Dot indexing is not supported for variables of this type.
Error in hypercube/gather (line 1398)
if isa(obj.BlockedDataCube.Adapter,’images.blocked.InMemory’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
The problem is that I have spectral images stored in files in hypercube class that I saved some time ago with Matlab R2023 version or even earlier, but now I can not access directly to this numerical arrays that previously were perfectly fitting in my RAM.
Any clue about how could I fix this?
Thanks in advance. Hi! I’ve been using the hyperspectral library for the image processing toolbox for some years now. In the beggining, when a variable of class hypercube was created, it was storing the nomerical array (i.e. the spectral image) in a struct way that you could acces via dot indexing, for instance:
spectral_image = cube.DataCube;
However this seems not to be working anymore. Instead if I try this, I get a string instead of a numerical array. I’ve cheked and there is a funcion called gather which is supposed to be for this. I have also tried:
spectral_image = gather(cube);
But it is also not working. I get the following error, but my spectral image fits more than enough in my RAM, so I am sure this is not a problem.
Dot indexing is not supported for variables of this type.
Error in hypercube/gather (line 1398)
if isa(obj.BlockedDataCube.Adapter,’images.blocked.InMemory’)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
The problem is that I have spectral images stored in files in hypercube class that I saved some time ago with Matlab R2023 version or even earlier, but now I can not access directly to this numerical arrays that previously were perfectly fitting in my RAM.
Any clue about how could I fix this?
Thanks in advance. hyperspectral image library, image processing toolbox, hypercube object, hypercube MATLAB Answers — New Questions
Superimpose Matlab figure to Mathematica figure, not vectorized
A PDF vectorized plot is generated from a MatLab figure. Import this Matlab PDF figure to Mathematica and superimpose it onto a Mathematica figure. Finally in Mathematica, export this Mathematica and Matlab figure as a vectorized PDF plot. It turns out the MatLab part of the figure is not a vectorized plot. No such issue when there’s no Matlab involved. I’m using Mathematica 11 and 14.3 in Windows. How to resolve it? Example with my code for Matlab and Mathematica:
[X,Y] = meshgrid(-5:.5:5);
Z = Y.*sin(X) – X.*cos(Y);
s = surf(X,Y,Z,’FaceAlpha’,0.5)
exportgraphics(gcf,’vectorfig.pdf’,’ContentType’,’vector’)
Show[Plot[x, {x, 0, 1}],
Epilog -> {Inset[Import["vectorfig.pdf"][[1]], {0.5, 0.5}, Center, {Automatic, 0.4} ]}]A PDF vectorized plot is generated from a MatLab figure. Import this Matlab PDF figure to Mathematica and superimpose it onto a Mathematica figure. Finally in Mathematica, export this Mathematica and Matlab figure as a vectorized PDF plot. It turns out the MatLab part of the figure is not a vectorized plot. No such issue when there’s no Matlab involved. I’m using Mathematica 11 and 14.3 in Windows. How to resolve it? Example with my code for Matlab and Mathematica:
[X,Y] = meshgrid(-5:.5:5);
Z = Y.*sin(X) – X.*cos(Y);
s = surf(X,Y,Z,’FaceAlpha’,0.5)
exportgraphics(gcf,’vectorfig.pdf’,’ContentType’,’vector’)
Show[Plot[x, {x, 0, 1}],
Epilog -> {Inset[Import["vectorfig.pdf"][[1]], {0.5, 0.5}, Center, {Automatic, 0.4} ]}] A PDF vectorized plot is generated from a MatLab figure. Import this Matlab PDF figure to Mathematica and superimpose it onto a Mathematica figure. Finally in Mathematica, export this Mathematica and Matlab figure as a vectorized PDF plot. It turns out the MatLab part of the figure is not a vectorized plot. No such issue when there’s no Matlab involved. I’m using Mathematica 11 and 14.3 in Windows. How to resolve it? Example with my code for Matlab and Mathematica:
[X,Y] = meshgrid(-5:.5:5);
Z = Y.*sin(X) – X.*cos(Y);
s = surf(X,Y,Z,’FaceAlpha’,0.5)
exportgraphics(gcf,’vectorfig.pdf’,’ContentType’,’vector’)
Show[Plot[x, {x, 0, 1}],
Epilog -> {Inset[Import["vectorfig.pdf"][[1]], {0.5, 0.5}, Center, {Automatic, 0.4} ]}] mathematica, vectorplot MATLAB Answers — New Questions
Using for loop with if condition
Respectd Team,
I am looking solution for genration of data load by text.
My problem in simple manner, We have 14 floor building with 20 rooms in each floor, I have to write a code for once the person is enter into the room 1st floor 101 and remaining values in corresponding top floors should be zer (ex :201,301….1401) and if the person enter into 2room no 415 (4 floor & no 15) than correpsonding values in 115,215,315,515….1415 should be zero.Respectd Team,
I am looking solution for genration of data load by text.
My problem in simple manner, We have 14 floor building with 20 rooms in each floor, I have to write a code for once the person is enter into the room 1st floor 101 and remaining values in corresponding top floors should be zer (ex :201,301….1401) and if the person enter into 2room no 415 (4 floor & no 15) than correpsonding values in 115,215,315,515….1415 should be zero. Respectd Team,
I am looking solution for genration of data load by text.
My problem in simple manner, We have 14 floor building with 20 rooms in each floor, I have to write a code for once the person is enter into the room 1st floor 101 and remaining values in corresponding top floors should be zer (ex :201,301….1401) and if the person enter into 2room no 415 (4 floor & no 15) than correpsonding values in 115,215,315,515….1415 should be zero. for loop, if condition MATLAB Answers — New Questions









