Category: News
How to unload packages from an Embedded Coder Dictionary in MATLAB R2025b?
I am using Embedded Coder in MATLAB R2025b and unloaded a package from the "Memory Section" tab of the Embedded Coder Dictionary, but it still appears in the "Memory Sections" list.
How can I make sure the package is properly unloaded and removed from the "Memory Sections" list?I am using Embedded Coder in MATLAB R2025b and unloaded a package from the "Memory Section" tab of the Embedded Coder Dictionary, but it still appears in the "Memory Sections" list.
How can I make sure the package is properly unloaded and removed from the "Memory Sections" list? I am using Embedded Coder in MATLAB R2025b and unloaded a package from the "Memory Section" tab of the Embedded Coder Dictionary, but it still appears in the "Memory Sections" list.
How can I make sure the package is properly unloaded and removed from the "Memory Sections" list? embeddedcoderdictionary, unloadpackage, memorysections MATLAB Answers — New Questions
Why is my 2-D array data flattened in code generation from my Simulink model using Embedded Coder but not when I use a Stateflow chart?
I am generating code for my model. When generating code normally, my 2-D array or matrix is flattened as shown below:
var1 = ((&my2DArray[0][0]))[4];
However, when my signals, which are handling the 2-D matrix data, are passed through a Stateflow chart in my model first, the data is represented as a 2-D array even in my generated C-code, as shown below:
var1 = my2DArray[1][2];
Why is my code generated with single indexing for matrices and 2-D arrays, but not when using a Stateflow?I am generating code for my model. When generating code normally, my 2-D array or matrix is flattened as shown below:
var1 = ((&my2DArray[0][0]))[4];
However, when my signals, which are handling the 2-D matrix data, are passed through a Stateflow chart in my model first, the data is represented as a 2-D array even in my generated C-code, as shown below:
var1 = my2DArray[1][2];
Why is my code generated with single indexing for matrices and 2-D arrays, but not when using a Stateflow? I am generating code for my model. When generating code normally, my 2-D array or matrix is flattened as shown below:
var1 = ((&my2DArray[0][0]))[4];
However, when my signals, which are handling the 2-D matrix data, are passed through a Stateflow chart in my model first, the data is represented as a 2-D array even in my generated C-code, as shown below:
var1 = my2DArray[1][2];
Why is my code generated with single indexing for matrices and 2-D arrays, but not when using a Stateflow? flatten, 2d-array, stateflow MATLAB Answers — New Questions
How to read and write AXI4/AXI4-Lite registers from code generated by Embedded Coder R2025b on a bare-metal MicroBlaze processor?
I have a Simulink model where one part is implemented with Embedded Coder on a bare-metal MicroBlaze soft processor, and another part is implemented with HDL Coder as an IP core that exposes AXI4/AXI4-Lite memory-mapped registers.
How can I read and write those registers from the C code generated by Embedded Coder running on the MicroBlaze?I have a Simulink model where one part is implemented with Embedded Coder on a bare-metal MicroBlaze soft processor, and another part is implemented with HDL Coder as an IP core that exposes AXI4/AXI4-Lite memory-mapped registers.
How can I read and write those registers from the C code generated by Embedded Coder running on the MicroBlaze? I have a Simulink model where one part is implemented with Embedded Coder on a bare-metal MicroBlaze soft processor, and another part is implemented with HDL Coder as an IP core that exposes AXI4/AXI4-Lite memory-mapped registers.
How can I read and write those registers from the C code generated by Embedded Coder running on the MicroBlaze? microblaze, axi4, axi4-lite, bare-metal, memorymappedregisters, devicedriverblocks, tcpclient MATLAB Answers — New Questions
Microsoft to Retire Together Mode for Teams Meetings
Innovative Platform for Teams Meetings to Go in June 2026
According to message center notification MC1296478 (30 April 2026), Microsoft will retire Together mode for Teams meetings in June 2026. It’s a surprising decision that had not been flagged in any way earlier. The effect of the change is that the Together mode option will be removed from the View menu in Teams meetings. Tenants will no longer be able to assign seats to specific users and if a tenant created custom Together mode scenes, they won’t be able to use the scenes any longer. At one point, some very interesting custom scenes were created.
Microsoft says that Teams will focus on the gallery mode as the “primary multi-participant layout for meetings.” It’s a back to the future moment.
Together Mode
When Microsoft introduced Together mode in July 2020, the feature was accompanied by a wave of hyperbole because the new mode seemed to represent an innovative way of bringing people together in an immersive meeting experience. The big thing about Together mode was that instead of appearing in cards arranged in a simple view, a background scene depicting an amphitheater or other space (Figure 1).

The hyperbole was almost inevitable because everyone was in the middle of the awful Covid-19 pandemic, and anything that was different was good, especially if it livened up online meetings. This was a time when Teams usage exploded from 32 million to 145 million monthly active users between March 2020 and April 2021. Teams was the most exciting part of Office 365 in the 2020-2022 period, during which Microsoft shipped hundreds of features and expanded capacity dramatically to satisfy user demand.
Excitement Slipped Away Over Time
Together mode sparked a lot of commentary about how great the feature was, but the fact is that Together mode is the kind of thing that people try once or twice before they conclude that it’s a feature that they don’t need to use. Together mode is rather like avatars in that respect – something to try before slipping back to the normal view. I haven’t attended a meeting that used Together mode in years (for as long as I can remember), and I suspect that many others share the same experience. Maybe it’s just the meetings that I get invited to that deide not to deploy a background to position meeting participants in, but I suspect not.
Together mode seized the imagination of many people without building a loyal base of users, and that’s probably why Microsoft is now removing the feature. There’s no point in having something in the product if no one (or relatively few people compared to the installed base) use it. After all, the engineering effort to maintain Together mode can be used more productively to build yet another Microsoft 365 Copilot feature.
Back to Gallery Mode
Software engineering isn’t perfect and the analysis done to back up the decision to commit to features doesn’t always hold up when exposed to real users. Today’s great feature can turn into unwanted software debris. I don’t know if many will be unhappy about the demise of Together mode. I’m sure that those who will miss gathering in an artificial space will get used to gallery mode. After all, it’s what almost every Teams meeting uses.
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.
Matlab variable viewer does not update structure variables
I have been saving data in structures and with my version of Matlab (2025B) it does not seem to update these variables in the viewer. I am currently developing some scripts, so I am essentially just running all the code from the command line. I don’t think the code is important; it allocates matrices in a structure based on the data it reads in, and then calculates what the values are. Some psuedo code is below:
NewData=’DataSet_X’;
Data.(NewData).Value=zeros(size(X,1),2);
for I=1:length(X)
[Data.(NewData).Value(I,1),Data.(NewData).Value(I,2)] = ValueCalcFunction(Dataset X, Ith row)
end
Anyway, if I have Data open in the Variables window It shows the Value field as a matrix full of zeros even after it has been updated. If I double click the field and open just it in the variable window, it shows that it has been updated with the correct values. It would be nice to see it in the structure variable… Here is a screen capture that demonstrates what I mean:
Any ideas how can I force a refresh of the variable viewer?
I have a similar problem with the workspace not updating, but I found I can update it by pressing F5 or chosing Refresh from the menu. These options are not available in the variable viewer.
Thanks!I have been saving data in structures and with my version of Matlab (2025B) it does not seem to update these variables in the viewer. I am currently developing some scripts, so I am essentially just running all the code from the command line. I don’t think the code is important; it allocates matrices in a structure based on the data it reads in, and then calculates what the values are. Some psuedo code is below:
NewData=’DataSet_X’;
Data.(NewData).Value=zeros(size(X,1),2);
for I=1:length(X)
[Data.(NewData).Value(I,1),Data.(NewData).Value(I,2)] = ValueCalcFunction(Dataset X, Ith row)
end
Anyway, if I have Data open in the Variables window It shows the Value field as a matrix full of zeros even after it has been updated. If I double click the field and open just it in the variable window, it shows that it has been updated with the correct values. It would be nice to see it in the structure variable… Here is a screen capture that demonstrates what I mean:
Any ideas how can I force a refresh of the variable viewer?
I have a similar problem with the workspace not updating, but I found I can update it by pressing F5 or chosing Refresh from the menu. These options are not available in the variable viewer.
Thanks! I have been saving data in structures and with my version of Matlab (2025B) it does not seem to update these variables in the viewer. I am currently developing some scripts, so I am essentially just running all the code from the command line. I don’t think the code is important; it allocates matrices in a structure based on the data it reads in, and then calculates what the values are. Some psuedo code is below:
NewData=’DataSet_X’;
Data.(NewData).Value=zeros(size(X,1),2);
for I=1:length(X)
[Data.(NewData).Value(I,1),Data.(NewData).Value(I,2)] = ValueCalcFunction(Dataset X, Ith row)
end
Anyway, if I have Data open in the Variables window It shows the Value field as a matrix full of zeros even after it has been updated. If I double click the field and open just it in the variable window, it shows that it has been updated with the correct values. It would be nice to see it in the structure variable… Here is a screen capture that demonstrates what I mean:
Any ideas how can I force a refresh of the variable viewer?
I have a similar problem with the workspace not updating, but I found I can update it by pressing F5 or chosing Refresh from the menu. These options are not available in the variable viewer.
Thanks! variable viewer MATLAB Answers — New Questions
installation error: An attempt to create a new profile for an email address already in use was detected.
I have applied for a trial version and downloaded the installer. During installation, after I input user name and password, the installer showed the "confirm user" page, and then I clicked next step, and then the installer showed an error page: An attempt to create a new profile for an email address already in use was detected. Please help to solve this issue.
Thank you
RickI have applied for a trial version and downloaded the installer. During installation, after I input user name and password, the installer showed the "confirm user" page, and then I clicked next step, and then the installer showed an error page: An attempt to create a new profile for an email address already in use was detected. Please help to solve this issue.
Thank you
Rick I have applied for a trial version and downloaded the installer. During installation, after I input user name and password, the installer showed the "confirm user" page, and then I clicked next step, and then the installer showed an error page: An attempt to create a new profile for an email address already in use was detected. Please help to solve this issue.
Thank you
Rick installation error MATLAB Answers — New Questions
email address aleady in use
when installing the Free trial student version of matlab 2026 i get this error "An attempt to create a new profile for an email address already in use was detected." even though i am not creating a new account , i am using my account that i am signed in on matlab site to download the license how do i fix that problemwhen installing the Free trial student version of matlab 2026 i get this error "An attempt to create a new profile for an email address already in use was detected." even though i am not creating a new account , i am using my account that i am signed in on matlab site to download the license how do i fix that problem when installing the Free trial student version of matlab 2026 i get this error "An attempt to create a new profile for an email address already in use was detected." even though i am not creating a new account , i am using my account that i am signed in on matlab site to download the license how do i fix that problem matlab MATLAB Answers — New Questions
polellip function not working
the polellip function is not working !
I have the antenna toolbox and the phasing array toolbox both in R2026a
need help
thank youthe polellip function is not working !
I have the antenna toolbox and the phasing array toolbox both in R2026a
need help
thank you the polellip function is not working !
I have the antenna toolbox and the phasing array toolbox both in R2026a
need help
thank you phased array toolbox MATLAB Answers — New Questions
matlab installation fail at login account
I cannot login to my matlab using my school account. It always stuck on the step after I login through school portal. I deleted my matlab and try to reinstall, also for a newer version. When I install matlab R2025b, I failed again at the login step. After I login my school portal, it says:
"
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
null
There was an unexpected error (type=null, status=null).
"
Can anyone help me with this?I cannot login to my matlab using my school account. It always stuck on the step after I login through school portal. I deleted my matlab and try to reinstall, also for a newer version. When I install matlab R2025b, I failed again at the login step. After I login my school portal, it says:
"
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
null
There was an unexpected error (type=null, status=null).
"
Can anyone help me with this? I cannot login to my matlab using my school account. It always stuck on the step after I login through school portal. I deleted my matlab and try to reinstall, also for a newer version. When I install matlab R2025b, I failed again at the login step. After I login my school portal, it says:
"
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
null
There was an unexpected error (type=null, status=null).
"
Can anyone help me with this? login, installation MATLAB Answers — New Questions
How do I move a stand alone license from one user to another?
Our business has a standalone license for 2015b that was on the laptop of an employee who retired. I need to move that stand alone license to my laptop. How do I get mathworks to deactive the license on the retired employees laptop and get a license file for my laptop using that license and link it to my account?Our business has a standalone license for 2015b that was on the laptop of an employee who retired. I need to move that stand alone license to my laptop. How do I get mathworks to deactive the license on the retired employees laptop and get a license file for my laptop using that license and link it to my account? Our business has a standalone license for 2015b that was on the laptop of an employee who retired. I need to move that stand alone license to my laptop. How do I get mathworks to deactive the license on the retired employees laptop and get a license file for my laptop using that license and link it to my account? move stand alone license to new user and pc. MATLAB Answers — New Questions
Doubt in solving nested integral
I have a query regarding MATLAB code to plot SOP using analytical expression given by :
where
begin{equation}
begin{aligned}
Theta(u,y,v)
&= frac{1}{A_k(u,y,v)}
exp!left(
frac{lambda_Y lambda_Z}{alpha A_k(u,y,v)}
– A_k(u,y,v)frac{1}{bar{gamma}} right. \
&quad left.
– lambda_U u – lambda_V v
right)
E_1!left(
frac{lambda_Y lambda_Z}{alpha A_k(u,y,v)}
right).
end{aligned}
end{equation}
Here is what i tried for code of SOP (analytical):
% This code is for analytical expression of SOP of user k
clc; clear all; close all;
%% Parameters
lambda_X = 1; % rate parameter of the exponential distribution
lambda_Y = 1;
lambda_Z = 1;
lambda_U = 1;
lambda_V = 1;
alpha = 0.1;
k = 1;
a1 = 0.1;
a2= 0.3;
a3 = 0.6;
a = [a1 a2 a3];
R1 = 0.1; % nearest
R2 = 0.2; % middle
R3 = 0.3; % farthest
R = [R1 R2 R3];
beta = 0.8;
t1 = 1*1e5; % samples
t2 = 1e4;
D = (1 – beta) + beta * sum(a(1:k-1));
SOP_ana = [];
for snr_user_dB = 0:5:80
snr_user = 10^(snr_user_dB/10);
snr_eve_dB = 0; % in dB
snr_eve = 10^(snr_eve_dB/10);
accum = 0;
for iter = 1:t1
% Generate all RVs together
y = exprnd(1/lambda_Y);
u = exprnd(1/lambda_U);
v = exprnd(1/lambda_V);
% Gamma_e
Gamma_e = (beta * a(k) * u) / …
(u*D + alpha*y*v + (1/snr_eve));
% t(u,y,v)
t_val = (2^R(k))*(1 + Gamma_e) – 1;
% A_k
if beta*a(k) – t_val*D <= 0
continue;
end
A_k = (lambda_X * t_val) / (beta*a(k) – t_val*D);
% Theta
arg = (lambda_Y * lambda_Z)/(alpha*A_k);
Theta = (1/A_k) * …
exp(arg – A_k*(1/snr_user) …
– lambda_U*u – lambda_V*v) …
* expint(arg);
accum = accum + Theta;
end
SOP = 1 – (lambda_U * lambda_V * lambda_Y * lambda_Z / alpha) …
* (accum / t1);
SOP_ana = [SOP_ana SOP];
end
snr_axis = 0:5:80;
figure;
%semilogy(snr_axis, SOP_ana, ‘r-o’,’LineWidth’,1.5);
plot(snr_axis, SOP_ana, ‘r-o’,’LineWidth’,1.5);
grid on;
xlabel(‘SNR (dB)’);
ylabel(‘SOP’);
title(‘SOP vs SNR’);
The output of above code should match the simulation of SOP whose code is given by
% This code is for simulation expression of SOP of user k
%clc; clear all; close all;
%% Parameters
lambda_X = 1; % rate parameter of the exponential distribution
lambda_Y = 1;
lambda_Z = 1;
lambda_U = 1;
lambda_V = 1;
alpha = 0.1;
k = 1;
a1 = 0.1;
a2= 0.3;
a3 = 0.6;
a = [a1 a2 a3];
R1 = 0.1; % nearest
R2 = 0.2; % middle
R3 = 0.3; % farthest
R = [R1 R2 R3];
beta = 0.8;
t1 = 10*1e4; % samples
D = (1 – beta) + beta * sum(a(1:k-1));
SOP_sim = []; count = 0;
for snr_user_dB = 0:5:80
snr_user = 10^(snr_user_dB/10);
snr_eve_dB = 0; % in dB
snr_eve = 10^(snr_eve_dB/10);
for iter = 1:t1
X = exprnd(1/lambda_X); % mean is 1/lambda
Y = exprnd(1/lambda_Y);
Z = exprnd(1/lambda_Z);
U = exprnd(1/lambda_U);
V = exprnd(1/lambda_V);
Gamma_k = (beta * a(k) * X) / …
( X * D + alpha * Y * Z + (1/snr_user));
Gamma_e = (beta * a(k) * U) / …
( U * D + alpha * Y * V + (1/snr_eve));
if Gamma_k < ((2^R(k))*(1+Gamma_e)-1)
%if Gamma_k < (2^R(k)-1)
count = count + 1;
end
end
SOP = count / t1;
SOP_sim = [SOP_sim SOP];
count = 0;
end
snr_axis = 0:5:80;
figure;
%semilogy(snr_axis, SOP_sim, ‘r-o’,’LineWidth’,1.5);
plot(snr_axis, SOP_sim, ‘r-o’,’LineWidth’,1.5);
grid on;
xlabel(‘SNR (dB)’);
ylabel(‘SOP’);
title(‘SOP vs SNR’);
I am not getting what wrong i am doing in analytical SOP code…
Any help in this regard is highly appreciatedI have a query regarding MATLAB code to plot SOP using analytical expression given by :
where
begin{equation}
begin{aligned}
Theta(u,y,v)
&= frac{1}{A_k(u,y,v)}
exp!left(
frac{lambda_Y lambda_Z}{alpha A_k(u,y,v)}
– A_k(u,y,v)frac{1}{bar{gamma}} right. \
&quad left.
– lambda_U u – lambda_V v
right)
E_1!left(
frac{lambda_Y lambda_Z}{alpha A_k(u,y,v)}
right).
end{aligned}
end{equation}
Here is what i tried for code of SOP (analytical):
% This code is for analytical expression of SOP of user k
clc; clear all; close all;
%% Parameters
lambda_X = 1; % rate parameter of the exponential distribution
lambda_Y = 1;
lambda_Z = 1;
lambda_U = 1;
lambda_V = 1;
alpha = 0.1;
k = 1;
a1 = 0.1;
a2= 0.3;
a3 = 0.6;
a = [a1 a2 a3];
R1 = 0.1; % nearest
R2 = 0.2; % middle
R3 = 0.3; % farthest
R = [R1 R2 R3];
beta = 0.8;
t1 = 1*1e5; % samples
t2 = 1e4;
D = (1 – beta) + beta * sum(a(1:k-1));
SOP_ana = [];
for snr_user_dB = 0:5:80
snr_user = 10^(snr_user_dB/10);
snr_eve_dB = 0; % in dB
snr_eve = 10^(snr_eve_dB/10);
accum = 0;
for iter = 1:t1
% Generate all RVs together
y = exprnd(1/lambda_Y);
u = exprnd(1/lambda_U);
v = exprnd(1/lambda_V);
% Gamma_e
Gamma_e = (beta * a(k) * u) / …
(u*D + alpha*y*v + (1/snr_eve));
% t(u,y,v)
t_val = (2^R(k))*(1 + Gamma_e) – 1;
% A_k
if beta*a(k) – t_val*D <= 0
continue;
end
A_k = (lambda_X * t_val) / (beta*a(k) – t_val*D);
% Theta
arg = (lambda_Y * lambda_Z)/(alpha*A_k);
Theta = (1/A_k) * …
exp(arg – A_k*(1/snr_user) …
– lambda_U*u – lambda_V*v) …
* expint(arg);
accum = accum + Theta;
end
SOP = 1 – (lambda_U * lambda_V * lambda_Y * lambda_Z / alpha) …
* (accum / t1);
SOP_ana = [SOP_ana SOP];
end
snr_axis = 0:5:80;
figure;
%semilogy(snr_axis, SOP_ana, ‘r-o’,’LineWidth’,1.5);
plot(snr_axis, SOP_ana, ‘r-o’,’LineWidth’,1.5);
grid on;
xlabel(‘SNR (dB)’);
ylabel(‘SOP’);
title(‘SOP vs SNR’);
The output of above code should match the simulation of SOP whose code is given by
% This code is for simulation expression of SOP of user k
%clc; clear all; close all;
%% Parameters
lambda_X = 1; % rate parameter of the exponential distribution
lambda_Y = 1;
lambda_Z = 1;
lambda_U = 1;
lambda_V = 1;
alpha = 0.1;
k = 1;
a1 = 0.1;
a2= 0.3;
a3 = 0.6;
a = [a1 a2 a3];
R1 = 0.1; % nearest
R2 = 0.2; % middle
R3 = 0.3; % farthest
R = [R1 R2 R3];
beta = 0.8;
t1 = 10*1e4; % samples
D = (1 – beta) + beta * sum(a(1:k-1));
SOP_sim = []; count = 0;
for snr_user_dB = 0:5:80
snr_user = 10^(snr_user_dB/10);
snr_eve_dB = 0; % in dB
snr_eve = 10^(snr_eve_dB/10);
for iter = 1:t1
X = exprnd(1/lambda_X); % mean is 1/lambda
Y = exprnd(1/lambda_Y);
Z = exprnd(1/lambda_Z);
U = exprnd(1/lambda_U);
V = exprnd(1/lambda_V);
Gamma_k = (beta * a(k) * X) / …
( X * D + alpha * Y * Z + (1/snr_user));
Gamma_e = (beta * a(k) * U) / …
( U * D + alpha * Y * V + (1/snr_eve));
if Gamma_k < ((2^R(k))*(1+Gamma_e)-1)
%if Gamma_k < (2^R(k)-1)
count = count + 1;
end
end
SOP = count / t1;
SOP_sim = [SOP_sim SOP];
count = 0;
end
snr_axis = 0:5:80;
figure;
%semilogy(snr_axis, SOP_sim, ‘r-o’,’LineWidth’,1.5);
plot(snr_axis, SOP_sim, ‘r-o’,’LineWidth’,1.5);
grid on;
xlabel(‘SNR (dB)’);
ylabel(‘SOP’);
title(‘SOP vs SNR’);
I am not getting what wrong i am doing in analytical SOP code…
Any help in this regard is highly appreciated I have a query regarding MATLAB code to plot SOP using analytical expression given by :
where
begin{equation}
begin{aligned}
Theta(u,y,v)
&= frac{1}{A_k(u,y,v)}
exp!left(
frac{lambda_Y lambda_Z}{alpha A_k(u,y,v)}
– A_k(u,y,v)frac{1}{bar{gamma}} right. \
&quad left.
– lambda_U u – lambda_V v
right)
E_1!left(
frac{lambda_Y lambda_Z}{alpha A_k(u,y,v)}
right).
end{aligned}
end{equation}
Here is what i tried for code of SOP (analytical):
% This code is for analytical expression of SOP of user k
clc; clear all; close all;
%% Parameters
lambda_X = 1; % rate parameter of the exponential distribution
lambda_Y = 1;
lambda_Z = 1;
lambda_U = 1;
lambda_V = 1;
alpha = 0.1;
k = 1;
a1 = 0.1;
a2= 0.3;
a3 = 0.6;
a = [a1 a2 a3];
R1 = 0.1; % nearest
R2 = 0.2; % middle
R3 = 0.3; % farthest
R = [R1 R2 R3];
beta = 0.8;
t1 = 1*1e5; % samples
t2 = 1e4;
D = (1 – beta) + beta * sum(a(1:k-1));
SOP_ana = [];
for snr_user_dB = 0:5:80
snr_user = 10^(snr_user_dB/10);
snr_eve_dB = 0; % in dB
snr_eve = 10^(snr_eve_dB/10);
accum = 0;
for iter = 1:t1
% Generate all RVs together
y = exprnd(1/lambda_Y);
u = exprnd(1/lambda_U);
v = exprnd(1/lambda_V);
% Gamma_e
Gamma_e = (beta * a(k) * u) / …
(u*D + alpha*y*v + (1/snr_eve));
% t(u,y,v)
t_val = (2^R(k))*(1 + Gamma_e) – 1;
% A_k
if beta*a(k) – t_val*D <= 0
continue;
end
A_k = (lambda_X * t_val) / (beta*a(k) – t_val*D);
% Theta
arg = (lambda_Y * lambda_Z)/(alpha*A_k);
Theta = (1/A_k) * …
exp(arg – A_k*(1/snr_user) …
– lambda_U*u – lambda_V*v) …
* expint(arg);
accum = accum + Theta;
end
SOP = 1 – (lambda_U * lambda_V * lambda_Y * lambda_Z / alpha) …
* (accum / t1);
SOP_ana = [SOP_ana SOP];
end
snr_axis = 0:5:80;
figure;
%semilogy(snr_axis, SOP_ana, ‘r-o’,’LineWidth’,1.5);
plot(snr_axis, SOP_ana, ‘r-o’,’LineWidth’,1.5);
grid on;
xlabel(‘SNR (dB)’);
ylabel(‘SOP’);
title(‘SOP vs SNR’);
The output of above code should match the simulation of SOP whose code is given by
% This code is for simulation expression of SOP of user k
%clc; clear all; close all;
%% Parameters
lambda_X = 1; % rate parameter of the exponential distribution
lambda_Y = 1;
lambda_Z = 1;
lambda_U = 1;
lambda_V = 1;
alpha = 0.1;
k = 1;
a1 = 0.1;
a2= 0.3;
a3 = 0.6;
a = [a1 a2 a3];
R1 = 0.1; % nearest
R2 = 0.2; % middle
R3 = 0.3; % farthest
R = [R1 R2 R3];
beta = 0.8;
t1 = 10*1e4; % samples
D = (1 – beta) + beta * sum(a(1:k-1));
SOP_sim = []; count = 0;
for snr_user_dB = 0:5:80
snr_user = 10^(snr_user_dB/10);
snr_eve_dB = 0; % in dB
snr_eve = 10^(snr_eve_dB/10);
for iter = 1:t1
X = exprnd(1/lambda_X); % mean is 1/lambda
Y = exprnd(1/lambda_Y);
Z = exprnd(1/lambda_Z);
U = exprnd(1/lambda_U);
V = exprnd(1/lambda_V);
Gamma_k = (beta * a(k) * X) / …
( X * D + alpha * Y * Z + (1/snr_user));
Gamma_e = (beta * a(k) * U) / …
( U * D + alpha * Y * V + (1/snr_eve));
if Gamma_k < ((2^R(k))*(1+Gamma_e)-1)
%if Gamma_k < (2^R(k)-1)
count = count + 1;
end
end
SOP = count / t1;
SOP_sim = [SOP_sim SOP];
count = 0;
end
snr_axis = 0:5:80;
figure;
%semilogy(snr_axis, SOP_sim, ‘r-o’,’LineWidth’,1.5);
plot(snr_axis, SOP_sim, ‘r-o’,’LineWidth’,1.5);
grid on;
xlabel(‘SNR (dB)’);
ylabel(‘SOP’);
title(‘SOP vs SNR’);
I am not getting what wrong i am doing in analytical SOP code…
Any help in this regard is highly appreciated for loop, mathematics MATLAB Answers — New Questions
rotor side and control of DFIG based wind energy conversion system
I have my system which is DFIG based wind energy conversion system , i need to replace PI controllers in RSC with MPC controllers , is there any idea about how to do it exactly or ready block for it ?I have my system which is DFIG based wind energy conversion system , i need to replace PI controllers in RSC with MPC controllers , is there any idea about how to do it exactly or ready block for it ? I have my system which is DFIG based wind energy conversion system , i need to replace PI controllers in RSC with MPC controllers , is there any idea about how to do it exactly or ready block for it ? simulink, dfig, control, model predective control, power_conversion_control, simulation MATLAB Answers — New Questions
Control System Analysis Techniques course error
In the Time domain section of the course when I use the step function to plot the grpah it keeps saying i am wrong even though it is the exact same code and graph. Those anyone have anny solutions
below is the code
s = tf(‘s’);
quadcopter_ol = 0.04133/(s + 0.01479);
controller = zpk(-5,0,100);
Task 1
step(quadcopter_ol)In the Time domain section of the course when I use the step function to plot the grpah it keeps saying i am wrong even though it is the exact same code and graph. Those anyone have anny solutions
below is the code
s = tf(‘s’);
quadcopter_ol = 0.04133/(s + 0.01479);
controller = zpk(-5,0,100);
Task 1
step(quadcopter_ol) In the Time domain section of the course when I use the step function to plot the grpah it keeps saying i am wrong even though it is the exact same code and graph. Those anyone have anny solutions
below is the code
s = tf(‘s’);
quadcopter_ol = 0.04133/(s + 0.01479);
controller = zpk(-5,0,100);
Task 1
step(quadcopter_ol) control system analysis techniques, time-domain analysis MATLAB Answers — New Questions
How to change the output font of the live script
I tried to output some non-English characters in the live script, such as using disp, but unfortunately I found that none of the possible settings of matlab.fonts could prevent it from using the default font.I tried to output some non-English characters in the live script, such as using disp, but unfortunately I found that none of the possible settings of matlab.fonts could prevent it from using the default font. I tried to output some non-English characters in the live script, such as using disp, but unfortunately I found that none of the possible settings of matlab.fonts could prevent it from using the default font. live script, font, output MATLAB Answers — New Questions
Office 365 for IT Pros May 2026 Update
Files for Monthly Update #131 are Available for Download
The Office 365 for IT Pros team is delighted to announce that monthly update #131 for Office 365 for IT Pros (2026 edition) is now available for download by current subscribers from Gumroad.com using their account or the link in their receipt. Update #131 contains the usual mixture of information about new features and additional insight about existing features. More details about the updates for individual chapters can be found in our change log. Our FAQ explains how the update process works.
Apart from the updated EPUB and PDF files for the “big book,” the Automating Microsoft 365 with PowerShell eBook is now at version 23, and updated PDF and EPUB files for this eBook are also available for current Office 365 for IT Pros subscribers to download.
Modernized Change Management
MC1282306 (16 April) covers the important topic of how Microsoft makes new features available to customers in what Microsoft calls Modernized Change Management. The current system of publishing message center posts has been around for several years and isn’t as good as it could be. Some posts are terrible in terms of communicating what’s about to happen and why it might be important to tenants. Some have misleading or just bad titles. And in many cases, tenant administrators don’t read message center posts, a fact that becomes very obvious each time Microsoft attempts to remove a protocol from Microsoft 365 (the current campaign to remove Exchange Web Services is a case in point).
The new methodology includes an MCP server to query about updates, enhanced message center updates (maybe even better written and checked for fluency, accuracy, and understandability), and support for the “frontier” tier, for tenants who want earlier access to features than is available through targeted availability today. Microsoft is starting with Microsoft 365 Copilot (Figure 1) before rolling out to other workloads.

Microsoft shares a great deal of important and useful information through message center posts. Anything to help that information become more accessible is welcome. However, it takes two to tango, so remember to read message center posts regularly to find out what’s coming for your tenant.
Updates Coming your Way
Speaking of updates, some interesting changes are on their way in the short term. Small changes (on the grand scheme of things) often have a big impact. Being able to test the chosen microphone and speaker before joining a Teams meeting (MC1288530, available in mid-May) is firmly in that category. It might even eliminate some support calls.
Flagged in February 2026, being able to change the organizer of a meeting via an Exchange Online PowerShell cmdlet (MC1227623, mid-May) is something that should have been around a long time ago. Microsoft delicately says that the feature is needed “when a meeting owner changes roles, goes on leave, or is offboarded.” Offboarding is the nice way to say that someone has been fired or laid off. The post also says that UX is coming to Outlook classic. OWA, the new Outlook, and Teams to allow users to initiate transfers. In these circumstances, the new organizer must accept the meeting before the transfer completes.
Small to medium tenants (with Microsoft 365 Business Basic, Microsoft 365 Business Standard, or Microsoft 365 Business Premium licenses) can add a Live chat feature to their web site. The feature allows customers to interact with tenant members via Teams, with transcripts of conversations being stored in a central team. Sounds good, but it’s not for enterprise tenants, even after the name change to Customer Connect (MC1287369).
According to MC1246031, tenants with Microsoft 365 Copilot licenses will soon be able to access messages in shared mailboxes (or folders delegated from user mailboxes) in Copilot Chat (BizChat). Basically, Copilot uses the delegate permissions of the signed-in user to access the shared content. Shared mailboxes continue to get lots of use, something that caused us to write about how to extract KPIs for responses from messages sent to shared mailboxes. Of course, if shared mailboxes receive external email, the disabled accounts used for those mailboxes might need to be licensed for Microsoft Defender for Office 365.
MC1288530 is a strong candidate for the most important message center post in April. It covers the news that Recently used Teams emojis (including the all-so-important custom emojis) sync across devices from mid-May 2026.
Disappointingly, Planner tab support for Teams Shared and Private Channels (MC1262590) is delayed until late July 2026. I’m really looking forward to this feature.
The selected six message center posts gives an idea of the kind of change that happens inside Microsoft 365. Will your tenant be ready to embrace modernized change management?
On to Office 365 for IT Pros Monthly Update #132
The June 2026 update will be the last for Office 365 for IT Pros (2026 edition). We will move to the 2027 edition in July 2026 and begin another yearly cycle of updates. Time flies when you’re having fun, or so they say. We must be having fun keeping up to date with the changes published by Microsoft… or slightly mad.
Sudden shutdown of MATLAB for no reason without error notification
Hi community,
Currently I am experiencing an unexplainable matlab shutdown. Matlab fully shuts down half in the run of a relatively complex code without any error notification. I did perform the diary function to register all command window outputs, but no error message is recorded. It simply terminates in the middle of the code. There is no reason as far as I can see, no memory overflow, no infinite loops, no exit/break command of any sort. I tried it on two seperate computers with both Matlab R2019 and R2022.
I did create a function to record all data which enables me to continue the run from where it stopped, but this will be very time consuming and as MATLAB comes by license, I feel this kind of errors are not supposed to occur. Any advice is welcome.
Thank youHi community,
Currently I am experiencing an unexplainable matlab shutdown. Matlab fully shuts down half in the run of a relatively complex code without any error notification. I did perform the diary function to register all command window outputs, but no error message is recorded. It simply terminates in the middle of the code. There is no reason as far as I can see, no memory overflow, no infinite loops, no exit/break command of any sort. I tried it on two seperate computers with both Matlab R2019 and R2022.
I did create a function to record all data which enables me to continue the run from where it stopped, but this will be very time consuming and as MATLAB comes by license, I feel this kind of errors are not supposed to occur. Any advice is welcome.
Thank you Hi community,
Currently I am experiencing an unexplainable matlab shutdown. Matlab fully shuts down half in the run of a relatively complex code without any error notification. I did perform the diary function to register all command window outputs, but no error message is recorded. It simply terminates in the middle of the code. There is no reason as far as I can see, no memory overflow, no infinite loops, no exit/break command of any sort. I tried it on two seperate computers with both Matlab R2019 and R2022.
I did create a function to record all data which enables me to continue the run from where it stopped, but this will be very time consuming and as MATLAB comes by license, I feel this kind of errors are not supposed to occur. Any advice is welcome.
Thank you error, shutdown, crash MATLAB Answers — New Questions
The IMU block does not support continuous sample time inputs
Hello,
I am trying to simulate the behavior of an IMU on a robot in Simulink. As a first step, I tested it on a simpler structure than my final system. However, with the model below, I get the following error:
“The IMU block does not support continuous sample time inputs.”
I tried changing the solver, but it did not resolve the issue.
Would you have any idea what what changes are needed to properly use the IMU block in this context?
Thank you in advance for your help.Hello,
I am trying to simulate the behavior of an IMU on a robot in Simulink. As a first step, I tested it on a simpler structure than my final system. However, with the model below, I get the following error:
“The IMU block does not support continuous sample time inputs.”
I tried changing the solver, but it did not resolve the issue.
Would you have any idea what what changes are needed to properly use the IMU block in this context?
Thank you in advance for your help. Hello,
I am trying to simulate the behavior of an IMU on a robot in Simulink. As a first step, I tested it on a simpler structure than my final system. However, with the model below, I get the following error:
“The IMU block does not support continuous sample time inputs.”
I tried changing the solver, but it did not resolve the issue.
Would you have any idea what what changes are needed to properly use the IMU block in this context?
Thank you in advance for your help. imu, simscape, continuous, discrete MATLAB Answers — New Questions
How do I publish figures as a pdf so that it shows as it does in MATLAB?
% SIMPLE_PLOT Generate a plot with x and y values as a black line, with labels and a title.
x = linspace(0,2*pi,200);
y = sin(x); % example y values
figure(1)
plot(x,y,’k-‘)
xlabel(‘x (radians)’)
ylabel(‘sin(x)’)
title(‘Black Line: Sine Wave’)
grid on
So as you can see when i run this code in MATLAB it runs and outputs corrrectly but when i go to publish it I am left with it looking like this in the Publish_Example.pdf below.
If you could give me any suggestions or solutions on how to fix this problem it would be greatly appreciated. Thank you!% SIMPLE_PLOT Generate a plot with x and y values as a black line, with labels and a title.
x = linspace(0,2*pi,200);
y = sin(x); % example y values
figure(1)
plot(x,y,’k-‘)
xlabel(‘x (radians)’)
ylabel(‘sin(x)’)
title(‘Black Line: Sine Wave’)
grid on
So as you can see when i run this code in MATLAB it runs and outputs corrrectly but when i go to publish it I am left with it looking like this in the Publish_Example.pdf below.
If you could give me any suggestions or solutions on how to fix this problem it would be greatly appreciated. Thank you! % SIMPLE_PLOT Generate a plot with x and y values as a black line, with labels and a title.
x = linspace(0,2*pi,200);
y = sin(x); % example y values
figure(1)
plot(x,y,’k-‘)
xlabel(‘x (radians)’)
ylabel(‘sin(x)’)
title(‘Black Line: Sine Wave’)
grid on
So as you can see when i run this code in MATLAB it runs and outputs corrrectly but when i go to publish it I am left with it looking like this in the Publish_Example.pdf below.
If you could give me any suggestions or solutions on how to fix this problem it would be greatly appreciated. Thank you! publish, figure, pdf MATLAB Answers — New Questions
How can I use Visual Studio Code to debug my MinGW C/C++ file?
I have a C/C++ MEX file compiled by the MinGW64 compiler with the -g flag. How can I debug my MEX through Visual Studio Code?I have a C/C++ MEX file compiled by the MinGW64 compiler with the -g flag. How can I debug my MEX through Visual Studio Code? I have a C/C++ MEX file compiled by the MinGW64 compiler with the -g flag. How can I debug my MEX through Visual Studio Code? mex, mingw, debugging, vscode, c, c++ MATLAB Answers — New Questions
Microsoft Cloud Revenues Reach $54.5 Billion in FY26 Q3
And Microsoft Keeps on Talking About Copilot in Their FY26 Q3 Results
On April 29, 2026, Microsoft released their FY26 Q3 results. Microsoft Cloud revenues, which includes Microsoft 365, Azure, LinkedIn, Dynamics 365, and some other services, reached $54.5 billion for the quarter, an annualized run rate (ARR) of $218 billion. Gross margin for the Microsoft Cloud was 66%. CFO Amy Hood attributed the increase to demand for the Azure platform.

Microsoft 365 Copilot Reaches Over 20 Million Paid Seats
As has become the norm recently, Microsoft dedicated a lot of time at their analyst briefing to talk up the work they’ve been doing with AI. Satya Nadella noted that the number of paid Microsoft 365 Copilot seats had reached “over 20 million,” up five million from the number given at their FY26 Q2 results three months ago.
Twenty million seems like a lot, but it’s still less than 4.5% of the “over 450 million” paid Microsoft 465 seats. 20 billion fully paid Microsoft 365 Copilot seats represent $7.2 billion revenue at list price, but you can bet that customers like Accenture pay a lot less per seat for their 740,000 users (the largest Copilot deployment). In any case, progress is progress, even if Copilot revenue is still way behind the massive capital investment Microsoft has made to build out its datacenter capacity. Amy Hood noted that Microsoft plans to spend to increase to “over $40 billion” in the coming quarter.
625 Changes Pushed Out for Copilot in a Year
The pace of change for Microsoft 365 Copilot can be seen in the 625 updates Microsoft claims to have introduced in the last year. Many of the updates are relatively small, like adding weblinks as resources in Copilot notebooks (MC1193414). Other changes, like triaging inboxes with Copilot via voice commands (MC1187805) are more impactful.
Although Anthrophic and OpenAI have engineered solutions like the Microsoft 365 Connector for Claude to allow their users to access Microsoft 365 content, the amount of information available within Microsoft 365 for Copilot to reason over is staggering. Microsoft said that Work IQ (Exchange, SharePoint, Teams, OneDrive, etc.) now spans more than 17 exabytes of data and grows at 35% annually. It’s kind of hard for the other AI players to access that kind of information given the limitations of the Graph-based integrations they have.
The Meaningless Numbers Continue
Along with some reasonably solid numbers, Microsoft tossed out some that don’t mean very much. For instance, Nadella said that Copilot queries per user increased 20% quarter over quarter. We don’t know what the base was, so it’s impossible to understand what this number actually means. The same is true for the assertion that first party agent active usage increased six times in the year to date. It all sounds good, but without baselines to measure from, these numbers are meaningless.
Microsoft loves to cite the number of Copilot interactions “audited by Purview.” This time round, Microsoft said that the number increased seven-fold year-over-year. However, Purview Audit does precisely nothing to interact Copilot interactions. Audit events are gathered to record Copilot interactions, but that’s about it.
Audit events are logged for every Copilot prompt and response, so many audit events are recorded for a single chat. Many audit events are automatic interactions, like when Word generates a summary of a document. It’s fair to say that an increasing number of Copilot audit events captured by Purview is a sign of increasing usage, but once again the lack of a baseline makes any comparison impossible.
No Numbers for Microsoft 365 Users or Teams
Microsoft didn’t update the number of monthly active users or paid seats for Microsoft 365 or Teams. The lack of Teams data is curious. A few years ago, Microsoft couldn’t stop talking about Teams and the growing number of monthly active users. The last official number given by Microsoft for Teams was 320 million monthly active users in Microsoft’s FY24 Q1 results in October 2023. Microsoft 365 user paid seats have grown by about 50 million since then. What’s happened to Teams?









