Category: News
Delay balancing failed when generating HDL code
The problem module identified in the report is the low-pass filter module shown in Figure 1.Can anyone solve this?The problem module identified in the report is the low-pass filter module shown in Figure 1.Can anyone solve this? The problem module identified in the report is the low-pass filter module shown in Figure 1.Can anyone solve this? hdl, delay MATLAB Answers — New Questions
MATLAB 2025a and 2025b crashed
matlab2025a和2025b在程序运行过程中出现闪退,并弹出下面这个窗口。而后我在打开matlab的时候也是刚打开就闪退,出现下面这个窗口,应该怎么解决呀?电脑重启之后有时候正常,有时候也不行,得重启好几次才行。
Matlab 2025a and 2025b experienced crashes during program execution and a window like the following popped up. Then, when I opened Matlab, it crashed immediately upon opening, and a similar window appeared. How can this be resolved? After restarting the computer, sometimes it works normally, but other times it doesn’t. It requires multiple restarts to make it work.matlab2025a和2025b在程序运行过程中出现闪退,并弹出下面这个窗口。而后我在打开matlab的时候也是刚打开就闪退,出现下面这个窗口,应该怎么解决呀?电脑重启之后有时候正常,有时候也不行,得重启好几次才行。
Matlab 2025a and 2025b experienced crashes during program execution and a window like the following popped up. Then, when I opened Matlab, it crashed immediately upon opening, and a similar window appeared. How can this be resolved? After restarting the computer, sometimes it works normally, but other times it doesn’t. It requires multiple restarts to make it work. matlab2025a和2025b在程序运行过程中出现闪退,并弹出下面这个窗口。而后我在打开matlab的时候也是刚打开就闪退,出现下面这个窗口,应该怎么解决呀?电脑重启之后有时候正常,有时候也不行,得重启好几次才行。
Matlab 2025a and 2025b experienced crashes during program execution and a window like the following popped up. Then, when I opened Matlab, it crashed immediately upon opening, and a similar window appeared. How can this be resolved? After restarting the computer, sometimes it works normally, but other times it doesn’t. It requires multiple restarts to make it work. matlab 闪退 MATLAB Answers — New Questions
How to use “getkey” correct ?
I am currently using "getkey" but it appears to include some falts. The worst one is that it stops matlab and goes to the matlab main window, however the maylab script still runs, but it is hard to use without seeing the figure of my apllication.
What alternative functions can be used instead of "getkey" ?
best regards
OleI am currently using "getkey" but it appears to include some falts. The worst one is that it stops matlab and goes to the matlab main window, however the maylab script still runs, but it is hard to use without seeing the figure of my apllication.
What alternative functions can be used instead of "getkey" ?
best regards
Ole I am currently using "getkey" but it appears to include some falts. The worst one is that it stops matlab and goes to the matlab main window, however the maylab script still runs, but it is hard to use without seeing the figure of my apllication.
What alternative functions can be used instead of "getkey" ?
best regards
Ole reading keyboard MATLAB Answers — New Questions
How to start a simulation in steady-state ?
Hi everyone,
I have a question regarding how to the start of a simulation in simulink with the steady state signal (voltage in my case) from t=0s.
I have done the power flow initialization as well the steady-state initial state with the help of powergui but I still have a oscillating voltage, power output from the synchronous machine.
Do you have any idea how to get read of this transient ? For instance I’d like to start my simulation at t=0s with the state of t=0.6s
Thanks in advance !
AntoineHi everyone,
I have a question regarding how to the start of a simulation in simulink with the steady state signal (voltage in my case) from t=0s.
I have done the power flow initialization as well the steady-state initial state with the help of powergui but I still have a oscillating voltage, power output from the synchronous machine.
Do you have any idea how to get read of this transient ? For instance I’d like to start my simulation at t=0s with the state of t=0.6s
Thanks in advance !
Antoine Hi everyone,
I have a question regarding how to the start of a simulation in simulink with the steady state signal (voltage in my case) from t=0s.
I have done the power flow initialization as well the steady-state initial state with the help of powergui but I still have a oscillating voltage, power output from the synchronous machine.
Do you have any idea how to get read of this transient ? For instance I’d like to start my simulation at t=0s with the state of t=0.6s
Thanks in advance !
Antoine initialization, steady-state MATLAB Answers — New Questions
Why is event PreUpdate and PostUpdate not triggered in ChartContainer?
Hi all,
I’ve created a ChartContainer in MATLAB R2024b and need to track when its update routine finishes so I can restore an internal property to its original value. During setup, I added listeners for the PreUpdate and PostUpdate events of the ChartContainer.
However, when I change a property, the update method runs, but neither the PreUpdate nor PostUpdate events seem to fire.
Below I share the class implementation:
classdef TestComponent < matlab.graphics.chartcontainer.ChartContainer
%% Properties
properties (AbortSet)
% Internal use. Indicates update is required, triggered by external
% property.
TriggerUpdate (1,1) logical = false;
end %properties
properties (Transient, NonCopyable, Hidden, SetAccess = protected, UsedInUpdate = false)
% Event listener array
EventListeners (1,:) event.listener
end
%% Protected Methods
methods (Access = protected)
function setup(obj)
% Setup routine
% Show setup routine is executed
disp(‘setup’)
% Setup listeners to all events in the class
metaClass = meta.class.fromName(class(obj));
eventList = {metaClass.EventList.Name};
listenAcces = {metaClass.EventList.ListenAccess};
% Initialize listener to post-update event
for idx = 1:numel(eventList)
if ~strcmpi(listenAcces{idx}, {‘public’, ‘protected’})
continue
end
obj.EventListeners(end+1) = listener(obj, …
eventList{idx}, @(s,e) obj.showEvent(e));
end
end %function
function update(obj)
% Update routine
% Show update routine is executed
disp(‘update’)
end %function
end %methods
methods
function showEvent(obj, e)
disp(e)
end %function
end %methods
end
Does anyone know why these events aren’t triggered? For ComponentContainer, the events work as expected.Hi all,
I’ve created a ChartContainer in MATLAB R2024b and need to track when its update routine finishes so I can restore an internal property to its original value. During setup, I added listeners for the PreUpdate and PostUpdate events of the ChartContainer.
However, when I change a property, the update method runs, but neither the PreUpdate nor PostUpdate events seem to fire.
Below I share the class implementation:
classdef TestComponent < matlab.graphics.chartcontainer.ChartContainer
%% Properties
properties (AbortSet)
% Internal use. Indicates update is required, triggered by external
% property.
TriggerUpdate (1,1) logical = false;
end %properties
properties (Transient, NonCopyable, Hidden, SetAccess = protected, UsedInUpdate = false)
% Event listener array
EventListeners (1,:) event.listener
end
%% Protected Methods
methods (Access = protected)
function setup(obj)
% Setup routine
% Show setup routine is executed
disp(‘setup’)
% Setup listeners to all events in the class
metaClass = meta.class.fromName(class(obj));
eventList = {metaClass.EventList.Name};
listenAcces = {metaClass.EventList.ListenAccess};
% Initialize listener to post-update event
for idx = 1:numel(eventList)
if ~strcmpi(listenAcces{idx}, {‘public’, ‘protected’})
continue
end
obj.EventListeners(end+1) = listener(obj, …
eventList{idx}, @(s,e) obj.showEvent(e));
end
end %function
function update(obj)
% Update routine
% Show update routine is executed
disp(‘update’)
end %function
end %methods
methods
function showEvent(obj, e)
disp(e)
end %function
end %methods
end
Does anyone know why these events aren’t triggered? For ComponentContainer, the events work as expected. Hi all,
I’ve created a ChartContainer in MATLAB R2024b and need to track when its update routine finishes so I can restore an internal property to its original value. During setup, I added listeners for the PreUpdate and PostUpdate events of the ChartContainer.
However, when I change a property, the update method runs, but neither the PreUpdate nor PostUpdate events seem to fire.
Below I share the class implementation:
classdef TestComponent < matlab.graphics.chartcontainer.ChartContainer
%% Properties
properties (AbortSet)
% Internal use. Indicates update is required, triggered by external
% property.
TriggerUpdate (1,1) logical = false;
end %properties
properties (Transient, NonCopyable, Hidden, SetAccess = protected, UsedInUpdate = false)
% Event listener array
EventListeners (1,:) event.listener
end
%% Protected Methods
methods (Access = protected)
function setup(obj)
% Setup routine
% Show setup routine is executed
disp(‘setup’)
% Setup listeners to all events in the class
metaClass = meta.class.fromName(class(obj));
eventList = {metaClass.EventList.Name};
listenAcces = {metaClass.EventList.ListenAccess};
% Initialize listener to post-update event
for idx = 1:numel(eventList)
if ~strcmpi(listenAcces{idx}, {‘public’, ‘protected’})
continue
end
obj.EventListeners(end+1) = listener(obj, …
eventList{idx}, @(s,e) obj.showEvent(e));
end
end %function
function update(obj)
% Update routine
% Show update routine is executed
disp(‘update’)
end %function
end %methods
methods
function showEvent(obj, e)
disp(e)
end %function
end %methods
end
Does anyone know why these events aren’t triggered? For ComponentContainer, the events work as expected. matlab, plot, chartcontainer, update, event MATLAB Answers — New Questions
Forrtl: severe (38): error during write, unit -1 file CONOUT$
I created the model in 2020. It was compiled and ran successfully. I was able to compile this model successfully with MATLAB 2024b and 2025a but error occured during runtime.I created the model in 2020. It was compiled and ran successfully. I was able to compile this model successfully with MATLAB 2024b and 2025a but error occured during runtime. I created the model in 2020. It was compiled and ran successfully. I was able to compile this model successfully with MATLAB 2024b and 2025a but error occured during runtime. traj MATLAB Answers — New Questions
FPGA Data Capture in Custom Board
I have a custom cyclone v soc board. I’m trying to follow along with debug IP core using FPGA Data Capture. https://www.mathworks.com/help/hdlcoder/ug/debug-ip-core-using-fpga-data-capture.html . The FPGA Data Capture interface does not appear for me as shown in step 1.2 of HDL Workflow Advisor. How do I add this interface to my custom reference design. Will HDL Workflow Advisor automatically add the appropriate IP core to the qsys project based on what signals I want to log?
I think part of the problem is I don’t have any FDC block in my library:
As you can see I do have the HDL Verifier Support Package for Intel Boards installed but there is no FPGA Data Capture block. I can not find it when searching for it either. Does this block exist in some other package or is there something wrong with my install?I have a custom cyclone v soc board. I’m trying to follow along with debug IP core using FPGA Data Capture. https://www.mathworks.com/help/hdlcoder/ug/debug-ip-core-using-fpga-data-capture.html . The FPGA Data Capture interface does not appear for me as shown in step 1.2 of HDL Workflow Advisor. How do I add this interface to my custom reference design. Will HDL Workflow Advisor automatically add the appropriate IP core to the qsys project based on what signals I want to log?
I think part of the problem is I don’t have any FDC block in my library:
As you can see I do have the HDL Verifier Support Package for Intel Boards installed but there is no FPGA Data Capture block. I can not find it when searching for it either. Does this block exist in some other package or is there something wrong with my install? I have a custom cyclone v soc board. I’m trying to follow along with debug IP core using FPGA Data Capture. https://www.mathworks.com/help/hdlcoder/ug/debug-ip-core-using-fpga-data-capture.html . The FPGA Data Capture interface does not appear for me as shown in step 1.2 of HDL Workflow Advisor. How do I add this interface to my custom reference design. Will HDL Workflow Advisor automatically add the appropriate IP core to the qsys project based on what signals I want to log?
I think part of the problem is I don’t have any FDC block in my library:
As you can see I do have the HDL Verifier Support Package for Intel Boards installed but there is no FPGA Data Capture block. I can not find it when searching for it either. Does this block exist in some other package or is there something wrong with my install? hdl verifier MATLAB Answers — New Questions
Microsoft to Enable Anthrophic Models by Default
Initial Introduction of Anthrophic Models into Microsoft 365 Not Well Handled
For a very large company with sophisticated marketing capabilities, Microsoft sometimes can’t communicate its way out of a wet paper bag. Take the situation around the use of Anthrophic models in Microsoft 365. When this first came to light in September 2025, many expressed concerns because of the lack of controls available when using Claude instead of ChatGPT.
At the time, Microsoft said: “Microsoft’s customer agreements, including the Product Terms and Data Processing Addendum do not apply. In addition, Microsoft’s data‑residency commitments, audit and compliance requirements, service level agreements, and Customer Copyright Commitment do not apply to your use of Anthropic services.”
The lack of auditing detail when Anthropic was used in the Researcher agent was also concerning. Overall, it seemed like the capability was rushed out.
Anthrophic Enabled by Default
Which brings us to message center notification MC1193290 published on December 8, announcing that Microsoft plans to enable the Anthropic models by default for “many customers” (with Microsoft 365 Copilot licenses, in certain regions). The announcement covers the commercial cloud only and doesn’t apply in the government or other sovereign clouds.
The big change is that Microsoft has onboarded Anthrophic as a subprocessor, meaning that Microsoft’s data protection standards (including the data protection addendum) will apply when the Anthrophic models are used with Microsoft 365 Copilot.
Not Enabled by Default in the European Union
The new arrangement is different for customer tenants in the European Union, EFTA, and UK. Likely because Anthrophic processing is done in the U.S., enablement of Anthrophic by default won’t happen in these tenants and it will be up to each tenant to decide whether their data processing arrangements can accommodate AI processing outside the EU Data Boundary.
If, like me, your tenant is in the excluded regions and you previously enabled access to the Anthrophic models, the old administrative toggle (Figure 1) is deprecated and the new toggle (under User access rather than Data access in the settings section of the Copilot area in the Microsoft 365 admin center) must be set.

Why the need for a new toggle? Well, we have a new arrangement because of the extension of Microsoft enterprise data protection to cover the Anthrophic models, so it’s reasonable to ask tenants that are not covered by default enablement to indicate their willingness to use the Anthrophic models under the new regime. At least, that seems to be the logic.
Choice is Good
Getting back to the original announcement, Microsoft could have avoided much of the fuss and bother if they had simply said that they were working with Anthrophic to make sure that Microsoft 365 tenant enjoyed the benefits of LLM choice with the same protection no matter what model was used.
I like the ability to choose from different AI models and think that it’s good for Microsoft to make the necessary arrangements. When the new toggle to enable Anthrophic turns up in my tenant (supposedly on December 8, but not yet), I’ll certainly enable the Anthrophic models because I like the results produced in Researcher. Although I haven’t tried the Anthrophic models in Word, Excel, and PowerPoint, they can’t be any worse in terms of generating or refining text than ChatGPT is.
Even though all AI LLMs are based on inherently flawed material gathered from the internet, it seems like Claude generates better output than ChatGPT. Both are capable of inserting howlers into generated text, but Claude seems to do better. I guess beauty is in the eye of the beholder!
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!
how to add a constraint condition to fsolve?
Hi everyone,
These days I want to solve a system of nonlinear equations with matlab. In the equations, there are all four unkonwns, A(1),A(2),A(3)and A(4) to be solved but only three equations. therefore, the ‘levenberg-marquardt’ algorithm is applied to get the results. However, for physical meaning, an additional constraint is required, i.e. A(3)should be larger than zero. and with the ‘levenberg-marquardt’ algorithm, in the the obtained result, A(3) is negative.
Does anyone know how to add this constraint condition to fsolve ? Your help will be highly appreciated!Hi everyone,
These days I want to solve a system of nonlinear equations with matlab. In the equations, there are all four unkonwns, A(1),A(2),A(3)and A(4) to be solved but only three equations. therefore, the ‘levenberg-marquardt’ algorithm is applied to get the results. However, for physical meaning, an additional constraint is required, i.e. A(3)should be larger than zero. and with the ‘levenberg-marquardt’ algorithm, in the the obtained result, A(3) is negative.
Does anyone know how to add this constraint condition to fsolve ? Your help will be highly appreciated! Hi everyone,
These days I want to solve a system of nonlinear equations with matlab. In the equations, there are all four unkonwns, A(1),A(2),A(3)and A(4) to be solved but only three equations. therefore, the ‘levenberg-marquardt’ algorithm is applied to get the results. However, for physical meaning, an additional constraint is required, i.e. A(3)should be larger than zero. and with the ‘levenberg-marquardt’ algorithm, in the the obtained result, A(3) is negative.
Does anyone know how to add this constraint condition to fsolve ? Your help will be highly appreciated! fsolve MATLAB Answers — New Questions
How to control intermediate variables when Simulink generates C code, and how to control the index values and function names for 2D lookup tables.
Hello, I encountered some problems when using Simulink to generate C code. My model is shown in Figure 1, and the model optimization configuration is shown in Figure 2. I disabled signal storage reuse but disabled local output reuse; all other settings are default.
1、If I enable reusing local outputs, it will use a local variable multiple times, which makes the code less readable. Even if I disable reusing local module outputs, some local variables are still reused. I want to improve readability but don’t want each module to output individually. How can this be resolved?
2、How should I control the generation of intermediate variables? Do I need to name all module names and signal names? Is it possible to know in advance where intermediate variable names will be generated?
3、In Figure 3, the two-dimensional lookup table I used has the same dimensions, and when generating code it will generate a shared index value called ‘pooled.’ How should this variable be controlled?
4、Currently, the lookup functions I generate for the code are placed in model.c. Can the functions generated by the lookup module be placed in a specified file?
5、Is it possible to generate a structure to control the breakpoints and table data of the lookup module? I can do this using the Struct storage class in Simulink, but the lookup data ends up appearing in model.c, which makes my model.c look messy.
6、3. In Figure 4, there is matrix multiplication in the model. I have named the intermediate signal lines and the modules before and after, so why does it still generate a tmp variable? Is this variable used for the loop operation in matrix addition?
There are corresponding file attachments at the end.Hello, I encountered some problems when using Simulink to generate C code. My model is shown in Figure 1, and the model optimization configuration is shown in Figure 2. I disabled signal storage reuse but disabled local output reuse; all other settings are default.
1、If I enable reusing local outputs, it will use a local variable multiple times, which makes the code less readable. Even if I disable reusing local module outputs, some local variables are still reused. I want to improve readability but don’t want each module to output individually. How can this be resolved?
2、How should I control the generation of intermediate variables? Do I need to name all module names and signal names? Is it possible to know in advance where intermediate variable names will be generated?
3、In Figure 3, the two-dimensional lookup table I used has the same dimensions, and when generating code it will generate a shared index value called ‘pooled.’ How should this variable be controlled?
4、Currently, the lookup functions I generate for the code are placed in model.c. Can the functions generated by the lookup module be placed in a specified file?
5、Is it possible to generate a structure to control the breakpoints and table data of the lookup module? I can do this using the Struct storage class in Simulink, but the lookup data ends up appearing in model.c, which makes my model.c look messy.
6、3. In Figure 4, there is matrix multiplication in the model. I have named the intermediate signal lines and the modules before and after, so why does it still generate a tmp variable? Is this variable used for the loop operation in matrix addition?
There are corresponding file attachments at the end. Hello, I encountered some problems when using Simulink to generate C code. My model is shown in Figure 1, and the model optimization configuration is shown in Figure 2. I disabled signal storage reuse but disabled local output reuse; all other settings are default.
1、If I enable reusing local outputs, it will use a local variable multiple times, which makes the code less readable. Even if I disable reusing local module outputs, some local variables are still reused. I want to improve readability but don’t want each module to output individually. How can this be resolved?
2、How should I control the generation of intermediate variables? Do I need to name all module names and signal names? Is it possible to know in advance where intermediate variable names will be generated?
3、In Figure 3, the two-dimensional lookup table I used has the same dimensions, and when generating code it will generate a shared index value called ‘pooled.’ How should this variable be controlled?
4、Currently, the lookup functions I generate for the code are placed in model.c. Can the functions generated by the lookup module be placed in a specified file?
5、Is it possible to generate a structure to control the breakpoints and table data of the lookup module? I can do this using the Struct storage class in Simulink, but the lookup data ends up appearing in model.c, which makes my model.c look messy.
6、3. In Figure 4, there is matrix multiplication in the model. I have named the intermediate signal lines and the modules before and after, so why does it still generate a tmp variable? Is this variable used for the loop operation in matrix addition?
There are corresponding file attachments at the end. simulink, generate code, lookuptable, embedded coder MATLAB Answers — New Questions
Can MATLAB be installed on two computers? Or, how often can a matlab license be transferred between two computers?
Can MATLAB be installed on two computers? Or, how often can a license be transferred between two computers?
For "Home" license? For "Student" license?
For a student who needs MATLAB on two machines with often switch between the two.
What would be the right license – "Student" or "Home"
ThanksCan MATLAB be installed on two computers? Or, how often can a license be transferred between two computers?
For "Home" license? For "Student" license?
For a student who needs MATLAB on two machines with often switch between the two.
What would be the right license – "Student" or "Home"
Thanks Can MATLAB be installed on two computers? Or, how often can a license be transferred between two computers?
For "Home" license? For "Student" license?
For a student who needs MATLAB on two machines with often switch between the two.
What would be the right license – "Student" or "Home"
Thanks license transfer MATLAB Answers — New Questions
Error: 403X-ERR#MHOD HELP
I’m a student and I’ve been trying to access Matlab online, and I’m getting an error saying, "Access Denied," which says: 403X-ERR#MHOD. It worked fine on May 7th, but it’s not working this afternoon. Is there a solution? I need it to review my university classes.I’m a student and I’ve been trying to access Matlab online, and I’m getting an error saying, "Access Denied," which says: 403X-ERR#MHOD. It worked fine on May 7th, but it’s not working this afternoon. Is there a solution? I need it to review my university classes. I’m a student and I’ve been trying to access Matlab online, and I’m getting an error saying, "Access Denied," which says: 403X-ERR#MHOD. It worked fine on May 7th, but it’s not working this afternoon. Is there a solution? I need it to review my university classes. access MATLAB Answers — New Questions
Testing the MCP Server for Enterprise
Can the MCP Server for Enterprise Help Microsoft 365 Tenant Administrators?
Along with agents, Model Context Protocol (MCP) servers received a lot of attention at the recent Microsoft Ignite event. An MCP server is a secure intermediary that lets AI models access data, like Entra ID, using a standardized approach. It all sounds very promising.
Microsoft has released a set of MCP servers, including the MCP Server for Enterprise, which can convert natural language queries into Microsoft Graph API calls. Other MCP servers are available, including the Microsoft 365 admin center, user profile, Dataverse, Outlook mail, Outlook calendar, SharePoint Lists, Teams, and so on (see the Agent 365 tooling servers overview for details – Figure 1). All the servers are in preview, and they all accept natural language queries against their respect knowledge sources.

From a Microsoft 365 tenant administrator perspective, the big question is whether MCP servers can do a job for them. Given that I know something about Graph API queries, I decided to test the MCP Server for Enterprise.
MCP servers have tools to help them work. Among the tools in the MCP Server for Enterprise are ones to extract intent from the user query and convert the query into a Graph API HTTP request that is then executed to answer the question with retrieved data.
Provisioning the MCP Server with Visual Studio Code
I followed the directions to provision the MCP server with Visual Studio Code. This action only needs to be done once for a tenant. Interestingly, the directions use a cmdlet from the Entra PowerShell module instead of the Microsoft Graph PowerShell SDK to configure two service principals (enterprise applications) for the server (“Microsoft MCP Server for Enterprise”) and client (“Visual Studio Code”). As far as I can tell, all the work could have been done with the Microsoft Graph PowerShell SDK, which is what most administrators use to deal with apps and service principals.
After setting up the service principals, I installed the MCP Server for Enterprise into Visual Studio Code and authenticated with my administrator account. The final step is to open Copilot Chat in Agent mode to create prompts for the server to process. This is where things went wrong. I think it’s because I sign into Visual Studio Code with the address that I have always used with GitHub (and GitHub Copilot). That address is different to my Entra ID account, and the net result was that although the MCP server reported that it was connected to my Entra ID account, the client couldn’t authenticate to send prompts (401 errors). But then things started to work, which is even weirder.
Prompting the MCP Server for Enterprise
By working, I mean that I could ask questions and the MCP server responded. In Figure 2, I asked how many security-enabled groups are in the tenant. The server contemplated the question, looked for matching examples, and found a Graph request that it issued. The response came back and is formatted to answer the question nicely.

Asking about security-related groups is a simple question in Graph terms. Let’s ask the server to tell us how many SharePoint sites are connected to Teams. The response to this prompt took longer, but the right answer popped out (Figure 3).

The server also generated a reasonable answer when I asked it to summarize the domains where guest accounts come from. Then I asked the server to tell me about users with Microsoft 365 E5 licenses that aren’t making full use of the license. The server took even longer to respond (it’s a more difficult question) before coming back with some PowerShell to run, noting that “full use” is not exposed directly (presumably as an account property).
Nevertheless, the server suggested that a practical way to figure out the answer is to measure the activity of users over the last 30 days based on usage reports (a developed version of the approach is explored here).
While the approach is sound, I wasn’t happy with the suggested code because it didn’t work. The code contained a throwback to profile selection (Select-MgProfile -Name 1.0) from V1 of the Microsoft Graph PowerShell SDK (V2 appeared in July 2023) and the command to find E5 licenses using the Get-MgSubscribedSKU cmdlet could not work because of the many variations of SKU part number used by Microsoft for E5 licenses. Then the call to the Get-MgUser cmdlet to find users and their licenses used a client-side filter to extract the set of licensed users (and didn’t filter to retrieve just member accounts). I could go on.
No Ready for Serious Work
The upshot is that the MCP Server for Enterprise is certainly capable of answering simple questions. However, once queries get more complicated, the server’s ability to answer prompts is hampered by the corpus of knowledge in its LLM.
It seems like the model was built from some old and limited examples of Graph API requests (the documentation cites “over 500 real-world examples”).Perhaps many of the examples came from Graph API documentation (in which the examples are never very complex). In short, the preview version of the MCP Server for Enterprise is a nice tool to demo at a technology exhibition, but the current build isn’t ready for serious work.
Keep up to date with developments like agents and MCP servers by subscribing to the Office 365 for IT Pros eBook. Our monthly updates make sure that our subscribers understand the most important changes happening across Office 365.
What’s the best color model to extract texture features from?
Just like L*a*b is the best color model to extract color features from images because it matches human color perspective,what is the best color model to extract GLCM texture features from and whyJust like L*a*b is the best color model to extract color features from images because it matches human color perspective,what is the best color model to extract GLCM texture features from and why Just like L*a*b is the best color model to extract color features from images because it matches human color perspective,what is the best color model to extract GLCM texture features from and why color, texture, colormodel, image MATLAB Answers — New Questions
Check if two colors are similar
How can I compare two RGB colors to see if they look the same (to human eyes). And I’d like to be able to control the amount of similarity.
Say for example 15. What is the best way to compare the colors to have more colors in the range.
I have two idea in my mind but I don’t know if they are the best options:
% (colorN(1) to colorN(3) are the RGB value of the color)
% Method 1:
if abs(double(color1(1)) – double(color2(1))) < 15 …
&& abs(double(color1(2)) – double(color2(2))) < 15 …
&& abs(double(color1(3)) – double(color2(3))) < 15
% The colors are similar
end
% Method 2
if sum(abs(double(color1(1)) – double(color2(1))), …
abs(double(color1(2)) – double(color2(2))), …
abs(double(color1(3)) – double(color2(3)))) < 15
% The colors are similar
end
% Maybe method 3 which is a combination of the two.
I’ve tried these a little bit by myself but I wasn’t happy with the results. Anyone knows a better way to compare? Does Matlab have a function for that?How can I compare two RGB colors to see if they look the same (to human eyes). And I’d like to be able to control the amount of similarity.
Say for example 15. What is the best way to compare the colors to have more colors in the range.
I have two idea in my mind but I don’t know if they are the best options:
% (colorN(1) to colorN(3) are the RGB value of the color)
% Method 1:
if abs(double(color1(1)) – double(color2(1))) < 15 …
&& abs(double(color1(2)) – double(color2(2))) < 15 …
&& abs(double(color1(3)) – double(color2(3))) < 15
% The colors are similar
end
% Method 2
if sum(abs(double(color1(1)) – double(color2(1))), …
abs(double(color1(2)) – double(color2(2))), …
abs(double(color1(3)) – double(color2(3)))) < 15
% The colors are similar
end
% Maybe method 3 which is a combination of the two.
I’ve tried these a little bit by myself but I wasn’t happy with the results. Anyone knows a better way to compare? Does Matlab have a function for that? How can I compare two RGB colors to see if they look the same (to human eyes). And I’d like to be able to control the amount of similarity.
Say for example 15. What is the best way to compare the colors to have more colors in the range.
I have two idea in my mind but I don’t know if they are the best options:
% (colorN(1) to colorN(3) are the RGB value of the color)
% Method 1:
if abs(double(color1(1)) – double(color2(1))) < 15 …
&& abs(double(color1(2)) – double(color2(2))) < 15 …
&& abs(double(color1(3)) – double(color2(3))) < 15
% The colors are similar
end
% Method 2
if sum(abs(double(color1(1)) – double(color2(1))), …
abs(double(color1(2)) – double(color2(2))), …
abs(double(color1(3)) – double(color2(3)))) < 15
% The colors are similar
end
% Maybe method 3 which is a combination of the two.
I’ve tried these a little bit by myself but I wasn’t happy with the results. Anyone knows a better way to compare? Does Matlab have a function for that? color, image processing, image, compare, rgb MATLAB Answers — New Questions
How to configure the default message and the hyperlink of the help command for published functions
I have published the documentation for a function that I coded with publishing markups in html format but when I type help myFunction in my Command Window at the end appears two lines by default like the following ones:
"Published output in the Help browser
showdemo myFunction (<- hyperlink)."
Is there a way to configure the way this two lines are shown? Like for example, change them to something like this:
"For more information see myFunction"I have published the documentation for a function that I coded with publishing markups in html format but when I type help myFunction in my Command Window at the end appears two lines by default like the following ones:
"Published output in the Help browser
showdemo myFunction (<- hyperlink)."
Is there a way to configure the way this two lines are shown? Like for example, change them to something like this:
"For more information see myFunction" I have published the documentation for a function that I coded with publishing markups in html format but when I type help myFunction in my Command Window at the end appears two lines by default like the following ones:
"Published output in the Help browser
showdemo myFunction (<- hyperlink)."
Is there a way to configure the way this two lines are shown? Like for example, change them to something like this:
"For more information see myFunction" help, publish MATLAB Answers — New Questions
How do I incorporate PDEmodel for uncoupled thermo-elastic analysis?
I’ve been trying to solve the Navier-Lame equation for thermoelasticity in a reinforced concrete beam by incorporating PDEmodel. It’s inconvinient, but I want my Young’s modulus to be a function of temperature. My procedure is solving a thermal transient problem and then taking the obtained temperature field into my c and f coefficients. The geometry is created via multicuboid, then transformed into fegeometry and fed to the thermal transient model. Then the same geometry (before conversion to fegeometry) is assigned to the general pde model (createpde(3)). The mesh is seperate between models.
The solution I get is nonsense: displacements for a 2m beam, fixed on both ends and subjected to temperature gradient of 1500K/m is around 1.2m (looks like torsion). I cannot find any mathematical errors. The attached code shows my definition of both c and f coefficients (it is just an overview). Can I use the interpolateTemperature and evaluateTemperatureGradient effectively inside my coefficients? Perhaps there is another problem with my approach or some PDE Toolbox limitations?
Thanks for any potential help on this.
Best regards
KS
%Body of the structural problem, Rt are the thermal transient reults
model = createpde(3);
model.Geometry = g;
generateMesh(model, ‘Hmax’, 0.01);
ccoeff1 = @(location,state) myfunWithAdditionalArgs1(location,state, Rt, length(tlist));
ccoeff2 = @(location,state) myfunWithAdditionalArgs2(location,state, Rt, length(tlist));
fcoeff1 = @(location,state) myfunWithAdditionalArgs3(location, state, Rt, length(tlist));
fcoeff2 = @(location,state) myfunWithAdditionalArgs4(location,state, Rt, length(tlist));
gcoef = @(location,state) myfunWithAdditionalArgs5(location,state, Rt, length(tlist));
specifyCoefficients(model,’m’,0,’d’,0,’c’, ccoeff1,’a’,0,’f’,[0;0;0], ‘Cell’, 1);
specifyCoefficients(model,m=0,d=0,c=ccoeff2,a=0,f=[0;0;0], Cell=[2, 3]);
applyBoundaryCondition(model, "neumann", g=gcoef, Face=[3, 4, 5, 6]);
applyBoundaryCondition(model,"dirichlet",Face=2,u=[0,0,0]);
applyBoundaryCondition(model,"dirichlet",Face=1,u=[0,0,0]);
result = solvepde(model)
%Defining of the coefficients-just the concrete
ccoeff1 = @(location,state) myfunWithAdditionalArgs1(location,state, Rt, length(tlist));
function cmatrix1 = myfunWithAdditionalArgs1(location, state, T, id)
n1 = 45;
nr = numel(location.x);
cmatrix1 = zeros(n1, nr);
E = 30e9.*(1-0.0001*interpolateTemperature(T, location.x, location.y, location.z, id));
nu = 0.2;
mu = E./(2.*(1+nu));
lambda = E.*nu./((1-2.*nu).*(1+nu));
cmatrix1 (1,:) = 2.*mu+lambda;
cmatrix1 (3,:) = mu;
cmatrix1 (6,:) = mu;
cmatrix1 (8,:) = mu;
cmatrix1 (10,:) = lambda;
cmatrix1 (16,:) = mu;
cmatrix1 (18,:) = 2.*mu+lambda;
cmatrix1 (21,:) = mu;
cmatrix1 (24,:) = mu;
cmatrix1 (28,:) = lambda;
cmatrix1 (36,:) = mu;
cmatrix1 (38,:) = lambda;
cmatrix1 (40,:) = mu;
cmatrix1 (42,:) = mu;
cmatrix1 (45,:) = 2.*mu+lambda;
end
fcoeff1 = @(location,state) myfunWithAdditionalArgs3(location, state, Rt, length(tlist));
function fmatrix1 = myfunWithAdditionalArgs3(location, state, T, id)
n1=3;
nr = numel(location.x);
fmatrix1 = zeros(n1, nr);
alpha = 1.2e-5;
nu = 0.2;
E =30e9.*(1-0.0001*interpolateTemperature(T, location.x, location.y, location.z, id));
[gradTx, gradTy, gradTz] = evaluateTemperatureGradient(T, location.x, location.y, location.z, id);
fmatrix1(1,:) = E.*alpha.*gradTx./(1-2.*nu);
fmatrix1(2,:) = E.*alpha.*gradTy./(1-2.*nu);
fmatrix1(3,:) = E.*alpha.*gradTz./(1-2.*nu);
endI’ve been trying to solve the Navier-Lame equation for thermoelasticity in a reinforced concrete beam by incorporating PDEmodel. It’s inconvinient, but I want my Young’s modulus to be a function of temperature. My procedure is solving a thermal transient problem and then taking the obtained temperature field into my c and f coefficients. The geometry is created via multicuboid, then transformed into fegeometry and fed to the thermal transient model. Then the same geometry (before conversion to fegeometry) is assigned to the general pde model (createpde(3)). The mesh is seperate between models.
The solution I get is nonsense: displacements for a 2m beam, fixed on both ends and subjected to temperature gradient of 1500K/m is around 1.2m (looks like torsion). I cannot find any mathematical errors. The attached code shows my definition of both c and f coefficients (it is just an overview). Can I use the interpolateTemperature and evaluateTemperatureGradient effectively inside my coefficients? Perhaps there is another problem with my approach or some PDE Toolbox limitations?
Thanks for any potential help on this.
Best regards
KS
%Body of the structural problem, Rt are the thermal transient reults
model = createpde(3);
model.Geometry = g;
generateMesh(model, ‘Hmax’, 0.01);
ccoeff1 = @(location,state) myfunWithAdditionalArgs1(location,state, Rt, length(tlist));
ccoeff2 = @(location,state) myfunWithAdditionalArgs2(location,state, Rt, length(tlist));
fcoeff1 = @(location,state) myfunWithAdditionalArgs3(location, state, Rt, length(tlist));
fcoeff2 = @(location,state) myfunWithAdditionalArgs4(location,state, Rt, length(tlist));
gcoef = @(location,state) myfunWithAdditionalArgs5(location,state, Rt, length(tlist));
specifyCoefficients(model,’m’,0,’d’,0,’c’, ccoeff1,’a’,0,’f’,[0;0;0], ‘Cell’, 1);
specifyCoefficients(model,m=0,d=0,c=ccoeff2,a=0,f=[0;0;0], Cell=[2, 3]);
applyBoundaryCondition(model, "neumann", g=gcoef, Face=[3, 4, 5, 6]);
applyBoundaryCondition(model,"dirichlet",Face=2,u=[0,0,0]);
applyBoundaryCondition(model,"dirichlet",Face=1,u=[0,0,0]);
result = solvepde(model)
%Defining of the coefficients-just the concrete
ccoeff1 = @(location,state) myfunWithAdditionalArgs1(location,state, Rt, length(tlist));
function cmatrix1 = myfunWithAdditionalArgs1(location, state, T, id)
n1 = 45;
nr = numel(location.x);
cmatrix1 = zeros(n1, nr);
E = 30e9.*(1-0.0001*interpolateTemperature(T, location.x, location.y, location.z, id));
nu = 0.2;
mu = E./(2.*(1+nu));
lambda = E.*nu./((1-2.*nu).*(1+nu));
cmatrix1 (1,:) = 2.*mu+lambda;
cmatrix1 (3,:) = mu;
cmatrix1 (6,:) = mu;
cmatrix1 (8,:) = mu;
cmatrix1 (10,:) = lambda;
cmatrix1 (16,:) = mu;
cmatrix1 (18,:) = 2.*mu+lambda;
cmatrix1 (21,:) = mu;
cmatrix1 (24,:) = mu;
cmatrix1 (28,:) = lambda;
cmatrix1 (36,:) = mu;
cmatrix1 (38,:) = lambda;
cmatrix1 (40,:) = mu;
cmatrix1 (42,:) = mu;
cmatrix1 (45,:) = 2.*mu+lambda;
end
fcoeff1 = @(location,state) myfunWithAdditionalArgs3(location, state, Rt, length(tlist));
function fmatrix1 = myfunWithAdditionalArgs3(location, state, T, id)
n1=3;
nr = numel(location.x);
fmatrix1 = zeros(n1, nr);
alpha = 1.2e-5;
nu = 0.2;
E =30e9.*(1-0.0001*interpolateTemperature(T, location.x, location.y, location.z, id));
[gradTx, gradTy, gradTz] = evaluateTemperatureGradient(T, location.x, location.y, location.z, id);
fmatrix1(1,:) = E.*alpha.*gradTx./(1-2.*nu);
fmatrix1(2,:) = E.*alpha.*gradTy./(1-2.*nu);
fmatrix1(3,:) = E.*alpha.*gradTz./(1-2.*nu);
end I’ve been trying to solve the Navier-Lame equation for thermoelasticity in a reinforced concrete beam by incorporating PDEmodel. It’s inconvinient, but I want my Young’s modulus to be a function of temperature. My procedure is solving a thermal transient problem and then taking the obtained temperature field into my c and f coefficients. The geometry is created via multicuboid, then transformed into fegeometry and fed to the thermal transient model. Then the same geometry (before conversion to fegeometry) is assigned to the general pde model (createpde(3)). The mesh is seperate between models.
The solution I get is nonsense: displacements for a 2m beam, fixed on both ends and subjected to temperature gradient of 1500K/m is around 1.2m (looks like torsion). I cannot find any mathematical errors. The attached code shows my definition of both c and f coefficients (it is just an overview). Can I use the interpolateTemperature and evaluateTemperatureGradient effectively inside my coefficients? Perhaps there is another problem with my approach or some PDE Toolbox limitations?
Thanks for any potential help on this.
Best regards
KS
%Body of the structural problem, Rt are the thermal transient reults
model = createpde(3);
model.Geometry = g;
generateMesh(model, ‘Hmax’, 0.01);
ccoeff1 = @(location,state) myfunWithAdditionalArgs1(location,state, Rt, length(tlist));
ccoeff2 = @(location,state) myfunWithAdditionalArgs2(location,state, Rt, length(tlist));
fcoeff1 = @(location,state) myfunWithAdditionalArgs3(location, state, Rt, length(tlist));
fcoeff2 = @(location,state) myfunWithAdditionalArgs4(location,state, Rt, length(tlist));
gcoef = @(location,state) myfunWithAdditionalArgs5(location,state, Rt, length(tlist));
specifyCoefficients(model,’m’,0,’d’,0,’c’, ccoeff1,’a’,0,’f’,[0;0;0], ‘Cell’, 1);
specifyCoefficients(model,m=0,d=0,c=ccoeff2,a=0,f=[0;0;0], Cell=[2, 3]);
applyBoundaryCondition(model, "neumann", g=gcoef, Face=[3, 4, 5, 6]);
applyBoundaryCondition(model,"dirichlet",Face=2,u=[0,0,0]);
applyBoundaryCondition(model,"dirichlet",Face=1,u=[0,0,0]);
result = solvepde(model)
%Defining of the coefficients-just the concrete
ccoeff1 = @(location,state) myfunWithAdditionalArgs1(location,state, Rt, length(tlist));
function cmatrix1 = myfunWithAdditionalArgs1(location, state, T, id)
n1 = 45;
nr = numel(location.x);
cmatrix1 = zeros(n1, nr);
E = 30e9.*(1-0.0001*interpolateTemperature(T, location.x, location.y, location.z, id));
nu = 0.2;
mu = E./(2.*(1+nu));
lambda = E.*nu./((1-2.*nu).*(1+nu));
cmatrix1 (1,:) = 2.*mu+lambda;
cmatrix1 (3,:) = mu;
cmatrix1 (6,:) = mu;
cmatrix1 (8,:) = mu;
cmatrix1 (10,:) = lambda;
cmatrix1 (16,:) = mu;
cmatrix1 (18,:) = 2.*mu+lambda;
cmatrix1 (21,:) = mu;
cmatrix1 (24,:) = mu;
cmatrix1 (28,:) = lambda;
cmatrix1 (36,:) = mu;
cmatrix1 (38,:) = lambda;
cmatrix1 (40,:) = mu;
cmatrix1 (42,:) = mu;
cmatrix1 (45,:) = 2.*mu+lambda;
end
fcoeff1 = @(location,state) myfunWithAdditionalArgs3(location, state, Rt, length(tlist));
function fmatrix1 = myfunWithAdditionalArgs3(location, state, T, id)
n1=3;
nr = numel(location.x);
fmatrix1 = zeros(n1, nr);
alpha = 1.2e-5;
nu = 0.2;
E =30e9.*(1-0.0001*interpolateTemperature(T, location.x, location.y, location.z, id));
[gradTx, gradTy, gradTz] = evaluateTemperatureGradient(T, location.x, location.y, location.z, id);
fmatrix1(1,:) = E.*alpha.*gradTx./(1-2.*nu);
fmatrix1(2,:) = E.*alpha.*gradTy./(1-2.*nu);
fmatrix1(3,:) = E.*alpha.*gradTz./(1-2.*nu);
end pde toolbox, pdemodel MATLAB Answers — New Questions
Passive noise filter simulation model to check attenuation frequency response in power supplies
any simulation model to check attenuation frequency response of ferrite core inductor noise filterany simulation model to check attenuation frequency response of ferrite core inductor noise filter any simulation model to check attenuation frequency response of ferrite core inductor noise filter noise filter, ferrite core, frequency respose MATLAB Answers — New Questions
Teams Messaging Gets Autocorrect
Autocorrect Common Errors in Teams Chat and Channel Messages
After complaining about the recently announced price rises for Microsoft 365, it’s time to reflect that part of the reason why people buy Microsoft 365 is the expectation of new functionality. Although not guaranteed by Microsoft, it’s a truism that software doesn’t remain static for long. Bugs are fixed, but more importantly, new features are added to make the software more competitive.
At this point, Microsoft 365 really only competes with itself. By this I mean that the reason why Microsoft adds new functionality to its products is often to convince customers to upgrade to a higher-priced and more feature-rich license. For example, from Office 365 E3 ($26/month after the increase) to Microsoft 365 E5 ($60/month after the increase). Good logic can underpin the decision to upgrade. For example, a company that needs stronger compliance solutions to satisfy industry regulations might find that the additional Purview functionality licensed by Microsoft 365 E5 is exactly what they need.
And sometimes Microsoft upgrades the base software to satisfy customer requirements or simply fill in a gap that is so obvious that you wonder why it’s taken Microsoft so long to deliver a solution.
Teams Messaging Autocorrect Rolling out to Targeted Tenants
Take the case of message center notification MC1192251 (5 December 2025, Microsoft 365 roadmap item 534487) which proclaims that “Autocorrect is coming to Microsoft Teams compose. Commonly misspelled words will now be automatically corrected while composing messages.” The change applies to Teams desktop on Windows and MacOS and is rolling out to targeted release tenants now with the intention of reaching general availability in mid-to-late January 2026. GCC will get the change about a month later.
Sorry, did I just report that Teams will autocorrect spellings when composing messages? This is the communication vehicle that was going to take over from email that is only just going to autocorrect spellings in 2026, nine years after the product launch when the other Office applications have been able to autocorrect text for years. Yes, that’s exactly the situation. Once the update is distributed to clients, Teams will correct “commonly” misspelled words (meaning no slang, local argot, or technical terms that are not in common usage) as people compose chat or channel messages.
Spell Checking and Autocorrect
Teams has been able to spell check for years, including the ability to autodetect the language used in a message. Autocorrect means that the editor detects common mistyping errors, like “mantain” and automatically replaces the error with the correct value (maintain in this case). It’s still perfectly possible to include a bunch of misspellings in a message because Autocorrect doesn’t pick up every possible mistake. Outlook settings (Figure 1) allow you to configure Autocorrect with new values to check for (like changing Msoft to Microsoft, or correctly capitalizing SharePoint), but that facility isn’t in Teams.

Update: According to Microsoft support, Teams uses a “system-level Autocorrect dictionary rather than an app-specific one, which helps maintain consistency across devices and languages” and that’s why individual users can’t add custom Autocorrect entries. I think that’s a flawed decision because everyone probably has some words they mistype frequently that won’t appear in a system-level dictionary.
In the case of Teams, autocorrect is enabled for all users. If someone wants to turn autocorrect off, they go to the General section of the Settings app and disable the option to Correct words while typing (Figure 2). Notice that there’s no way to add customize misspellings.

Little Things Mean a Lot
It’s good that Autocorrect has turned up in Teams messaging, even if it would be much better if individual users could configure Autocorrect to check for the misspellings that everyone is prone to make when typing.
In passing, let me note that the option to create an audio-only recording of a Teams meeting is now rolling out in production. It’s another example of an update that might not mean much to some but is extraordinarily useful in certain circumstances. You just need to be in the right situation!
Learn how to exploit the data available to Microsoft 365 tenant administrators through the Office 365 for IT Pros eBook. We love figuring out how things work.
Open Excel file read name of data file, process data file write to six different excel output data files, Repeat in a for loop
for i=1:30
open excel INPUT file
read data fle names from Excel INPUT file
% internal loop
for j=1:6
process data
open one excel OUTPUT file
write results to excel file as a cell array along one row of excel output file
save excel file
close excel file
end
end
% have tried multiple methods, all of which failed, maybe not appropriate to MATLAB R2020b?for i=1:30
open excel INPUT file
read data fle names from Excel INPUT file
% internal loop
for j=1:6
process data
open one excel OUTPUT file
write results to excel file as a cell array along one row of excel output file
save excel file
close excel file
end
end
% have tried multiple methods, all of which failed, maybe not appropriate to MATLAB R2020b? for i=1:30
open excel INPUT file
read data fle names from Excel INPUT file
% internal loop
for j=1:6
process data
open one excel OUTPUT file
write results to excel file as a cell array along one row of excel output file
save excel file
close excel file
end
end
% have tried multiple methods, all of which failed, maybe not appropriate to MATLAB R2020b? open read write to excel file in loop MATLAB Answers — New Questions









