Month: August 2025
nrWaveformGenerator – 5G NR DL – retrieving the symbol-frequency grid information before iFFT and CP.
I’m using nrWaveformGenerator for 5G NR DL and able to generate the DL waveform.
I’d like to access the IQ data in the frequency grid for each ODFM symbol per antenna, i.e. before iFFT and CP.
Can you please provide any guideline how it can be made possible?
Thanks!I’m using nrWaveformGenerator for 5G NR DL and able to generate the DL waveform.
I’d like to access the IQ data in the frequency grid for each ODFM symbol per antenna, i.e. before iFFT and CP.
Can you please provide any guideline how it can be made possible?
Thanks! I’m using nrWaveformGenerator for 5G NR DL and able to generate the DL waveform.
I’d like to access the IQ data in the frequency grid for each ODFM symbol per antenna, i.e. before iFFT and CP.
Can you please provide any guideline how it can be made possible?
Thanks! nrwaveformgenerator MATLAB Answers — New Questions
​
Query speedgoat for installed HW
I’m using R2025a and I have a Speedgoat performance machine. I’m able to connect and load models through the ethernet interface. I’m trying to query the Speedgoat machine to see what hardware cards are installed.
Back in the olden days of xPC target, it was easy to see the installed cards.
Simulink real time explorer doesn’t give any details that I can find.
I’ve tried through Matlab by creating an object with ‘slrealtime’. I can get the status this way but no info about the installed HW.
Does anyone know of a way to do this?I’m using R2025a and I have a Speedgoat performance machine. I’m able to connect and load models through the ethernet interface. I’m trying to query the Speedgoat machine to see what hardware cards are installed.
Back in the olden days of xPC target, it was easy to see the installed cards.
Simulink real time explorer doesn’t give any details that I can find.
I’ve tried through Matlab by creating an object with ‘slrealtime’. I can get the status this way but no info about the installed HW.
Does anyone know of a way to do this? I’m using R2025a and I have a Speedgoat performance machine. I’m able to connect and load models through the ethernet interface. I’m trying to query the Speedgoat machine to see what hardware cards are installed.
Back in the olden days of xPC target, it was easy to see the installed cards.
Simulink real time explorer doesn’t give any details that I can find.
I’ve tried through Matlab by creating an object with ‘slrealtime’. I can get the status this way but no info about the installed HW.
Does anyone know of a way to do this? speedgoat installed hw MATLAB Answers — New Questions
​
How to avoid inf/inf numerically for hyperbolic functions
I have an expression which consist of hyperbolic functions so to avoid the numerically instability how i can write them in exponential form in coding. I have those expressions in fortan code. Now i want to use them in MATLAB for my problem but i did not get that required form. The parameters i have are h=200, d= 38 , gamma is the positive roots for bessel functions.
and
Now the fortan code they write for C_n is:
kmR(iM)=BesJzero(iM) ! this is the gamma they just used the scaled one but analytically this gamma.
kmH(iM)=kmR(iM)*HsR ! this is gamm*h
exp1kmD(iM)=exp(-kmH(iM)*dsD/wtH) ! this is exp(-gamma*d)
exp2kmD(iM)=exp(-(kmH(iM)+kmH(iM))*dsD/wtH) ! this is exp(-2 gamma *d)
exp2kmH(iM)=exp(-(kmH(iM)+kmH(iM))) ! this is exp(-2 gamma *h)
exp2kmHmD(iM)=exp(-(kmH(iM)+kmH(iM))*HmD) ! this is exp(-2 gamma(h-d))
BBm(iM)=(nuR-kmR(iM))*exp2kmHmD(iM)/exp2kmD(iM) ! this nuR is f^2 and
BBm(iM)=BBm(iM)+(nuR+kmR(iM))*(1.0D0+2.0D0*exp2kmHmD(iM))
BBm(iM)=BBm(iM)/(nuR-kmR(iM)+(nuR+kmR(iM))*exp2kmD(iM))
BBm(iM)=BBm(iM)/(1.0D0+exp2kmHmD(iM))
CCm(iM)=2.0D0*(BBm(iM)*exp2kmD(iM)-1.0D0)
And for phi_U is
CCmc(iM)=1.0D0+exp2kmHmD(iM)/exp2kmD(iM)+2.0D0*exp2kmHmD(iM)
CCmc(iM)=CCmc(iM)/(1.0D0+exp2kmHmD(iM))
CCmc(iM)=BBm(iM)*(1.0D0+exp2kmD(iM))-CCmc(iM)
CCmc(iM)=CCmc(iM)*exp1kmD(iM)I have an expression which consist of hyperbolic functions so to avoid the numerically instability how i can write them in exponential form in coding. I have those expressions in fortan code. Now i want to use them in MATLAB for my problem but i did not get that required form. The parameters i have are h=200, d= 38 , gamma is the positive roots for bessel functions.
and
Now the fortan code they write for C_n is:
kmR(iM)=BesJzero(iM) ! this is the gamma they just used the scaled one but analytically this gamma.
kmH(iM)=kmR(iM)*HsR ! this is gamm*h
exp1kmD(iM)=exp(-kmH(iM)*dsD/wtH) ! this is exp(-gamma*d)
exp2kmD(iM)=exp(-(kmH(iM)+kmH(iM))*dsD/wtH) ! this is exp(-2 gamma *d)
exp2kmH(iM)=exp(-(kmH(iM)+kmH(iM))) ! this is exp(-2 gamma *h)
exp2kmHmD(iM)=exp(-(kmH(iM)+kmH(iM))*HmD) ! this is exp(-2 gamma(h-d))
BBm(iM)=(nuR-kmR(iM))*exp2kmHmD(iM)/exp2kmD(iM) ! this nuR is f^2 and
BBm(iM)=BBm(iM)+(nuR+kmR(iM))*(1.0D0+2.0D0*exp2kmHmD(iM))
BBm(iM)=BBm(iM)/(nuR-kmR(iM)+(nuR+kmR(iM))*exp2kmD(iM))
BBm(iM)=BBm(iM)/(1.0D0+exp2kmHmD(iM))
CCm(iM)=2.0D0*(BBm(iM)*exp2kmD(iM)-1.0D0)
And for phi_U is
CCmc(iM)=1.0D0+exp2kmHmD(iM)/exp2kmD(iM)+2.0D0*exp2kmHmD(iM)
CCmc(iM)=CCmc(iM)/(1.0D0+exp2kmHmD(iM))
CCmc(iM)=BBm(iM)*(1.0D0+exp2kmD(iM))-CCmc(iM)
CCmc(iM)=CCmc(iM)*exp1kmD(iM)Â I have an expression which consist of hyperbolic functions so to avoid the numerically instability how i can write them in exponential form in coding. I have those expressions in fortan code. Now i want to use them in MATLAB for my problem but i did not get that required form. The parameters i have are h=200, d= 38 , gamma is the positive roots for bessel functions.
and
Now the fortan code they write for C_n is:
kmR(iM)=BesJzero(iM) ! this is the gamma they just used the scaled one but analytically this gamma.
kmH(iM)=kmR(iM)*HsR ! this is gamm*h
exp1kmD(iM)=exp(-kmH(iM)*dsD/wtH) ! this is exp(-gamma*d)
exp2kmD(iM)=exp(-(kmH(iM)+kmH(iM))*dsD/wtH) ! this is exp(-2 gamma *d)
exp2kmH(iM)=exp(-(kmH(iM)+kmH(iM))) ! this is exp(-2 gamma *h)
exp2kmHmD(iM)=exp(-(kmH(iM)+kmH(iM))*HmD) ! this is exp(-2 gamma(h-d))
BBm(iM)=(nuR-kmR(iM))*exp2kmHmD(iM)/exp2kmD(iM) ! this nuR is f^2 and
BBm(iM)=BBm(iM)+(nuR+kmR(iM))*(1.0D0+2.0D0*exp2kmHmD(iM))
BBm(iM)=BBm(iM)/(nuR-kmR(iM)+(nuR+kmR(iM))*exp2kmD(iM))
BBm(iM)=BBm(iM)/(1.0D0+exp2kmHmD(iM))
CCm(iM)=2.0D0*(BBm(iM)*exp2kmD(iM)-1.0D0)
And for phi_U is
CCmc(iM)=1.0D0+exp2kmHmD(iM)/exp2kmD(iM)+2.0D0*exp2kmHmD(iM)
CCmc(iM)=CCmc(iM)/(1.0D0+exp2kmHmD(iM))
CCmc(iM)=BBm(iM)*(1.0D0+exp2kmD(iM))-CCmc(iM)
CCmc(iM)=CCmc(iM)*exp1kmD(iM) hyperbolic functions, numerical instability, exponential form MATLAB Answers — New Questions
​
Mobile Device Management Options Disappear from OWA and the New Outlook
Microsoft to Remove Mobile Device Management Options
Message Center Notification MC1130607 (7 Aug 2025) announces that Microsoft plans to remove the Mobile Devices section (Figure 1) from the Settings options available in OWA and New Outlook for Windows. Removal will commence starting on September 9, 2025, and is due to be complete in all tenants by October 9, 2025.

According to Microsoft, the change “simplifies device management and aligns with modern tools that offer more robust controls for administrators and end users.” From a user perspective, the biggest impact is that they will no longer be able to remove mobile devices linked to their account. I don’t think many users are very good at cleaning up old devices, so this aspect might not be noticed.
I’m in the category of people who don’t clean up old devices. Part of the problem is that the information presented in OWA settings isn’t very helpful because it simply lists “Outlook” as the device name. Including the device O/S, which is available for a device (Figure 2), would make it easier to identify unused devices.

In any case, this doesn’t matter any more because the options to manage mobile devices will disappear from OWA and the New Outlook soon. What people might miss more is the ability to wipe lost or stolen devices.
Other Options for Users to Disable or Wipe Mobile Devices
Microsoft points out that devices can still be managed through the device list available in the My Account portal (Figure 3). The portal lists all devices that are registered to the user and only allows users to disable a mobile device. This means that the device is blocked from accessing any tenant resources. It is not a device wipe and any sensitive information present on the device remains accessible if someone can get past whatever security methods are used to sign into the device.

Microsoft also points out that administrators can initiate a remote wipe for a registered device through Intune Endpoint Manager. The issue here is that someone who’s lost a device that contains sensitive data often wants an immediate wipe instead of waiting for an administrator to act.
Options also exist for a device owner to use vendor tools to remote wipe a device (iOS or Android).
Mobile Device Management in EAC
Microsoft doesn’t say anything about the mobile device management options in the Exchange admin center (EAC) or the PowerShell cmdlets that underpin mobile device management in both EAC and OWA (here’s an example of using the cmdlets to create a report of registered devices).
EAC has a mobile devices section, but that only deals with access and mailbox policies. Management of devices for a specific user is done by selecting the mailbox and choosing the manage mobile device link from mailbox properties (Figure 4). Care must be taken to select the correct target device before performing a remote wipe as it’s all too easy to select an old or inactive device.

A Justified Change
I’m unconvinced that this change simplifies device management, but I’m sure that Microsoft telemetry probably tells a tale of poor usage of mobile device management by users through OWA and the new Outlook. If that is the case, it’s reasonable for Microsoft to reduce their engineering and support costs by removing these options from the clients and push the responsibility for remote wipes to administrators. The fact that O/S vendors have options to disable and wipe devices gives additional justification for the change.
What’s clear is that tenants should give users clear and precise instructions about what they should do to secure sensitive information should a mobile device be lost or stolen. If you have this kind of advice, it’s time to update it to reflect the new reality.
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.
Â
How can I create a custom sensitivity analysis for a compartmental model in symbiology?
I am trying to run a sensitivity analysis where I vary one parameter for a data set/variants activated by orders of magnitude (say -5 to 5), and obtain the peak value for a species in order to compare the % change from the original (order of magnitude of 0). In principle, it makes sense in my head how to do this, but I don’t know how to go about writing a custom code in symbiology.. Any help would strongly be appreciated.
I have a program in symbiology for running multiple data set and single data set simulations, but not sure how to define a custom one like this.I am trying to run a sensitivity analysis where I vary one parameter for a data set/variants activated by orders of magnitude (say -5 to 5), and obtain the peak value for a species in order to compare the % change from the original (order of magnitude of 0). In principle, it makes sense in my head how to do this, but I don’t know how to go about writing a custom code in symbiology.. Any help would strongly be appreciated.
I have a program in symbiology for running multiple data set and single data set simulations, but not sure how to define a custom one like this. I am trying to run a sensitivity analysis where I vary one parameter for a data set/variants activated by orders of magnitude (say -5 to 5), and obtain the peak value for a species in order to compare the % change from the original (order of magnitude of 0). In principle, it makes sense in my head how to do this, but I don’t know how to go about writing a custom code in symbiology.. Any help would strongly be appreciated.
I have a program in symbiology for running multiple data set and single data set simulations, but not sure how to define a custom one like this. simbiology, compartmental modeling MATLAB Answers — New Questions
​
Unexpected results using SVD to separate components that make up a function
As preliminary to a larger project, I was trying out the SVD function with a test matrix made up by adding three 2D gaussians p1, p2, p3. I was hoping the SVD would be able to separate the function into these three components, and they would have the largest singular values in the S matrix.
I then tried to remake these components by setting everything except one singuar value in the S matrix to zero and calculating U*S_new*V’.
This does not make anything resembling my original components. Have I misunderstood how SVD should work, or have I misunderstood how separating the components should work?
I have attached my code:
% SVD test
clear all;
[X,Y] = meshgrid(-2:.1:4);
mu1 = [1 2];
Sigma1 = [5 3;3 5];
p1 = mvnpdf([X(:) Y(:)],mu1,Sigma1);
p1 = reshape(p1,size(X));
mu2 = [0 1];
Sigma2 = [3 0;0 1];
p2 = mvnpdf([X(:) Y(:)],mu2,Sigma2);
p2 = reshape(p2,size(X));
mu3 = [3 0];
Sigma3 = [2 1;1 2];
p3 = mvnpdf([X(:) Y(:)],mu3,Sigma3);
p3 = reshape(p3,size(X));
p = p1+p2+p3;
[U, S, V] = svd(p, "econ");
p_remade = U*S*V’;
figure;
subplot(3,1,1); imagesc(p1)
subplot(3,1,2); imagesc(p2)
subplot(3,1,3); imagesc(p3)
sgtitle("original components making p")
figure;
subplot(2,1,1); imagesc(p)
title("original p")
subplot(2,1,2); imagesc(p_remade)
title("SVD p")
num_comp = 3;
Si = zeros(size(S));
figure;
comp = zeros(length(S),length(S),num_comp);
for i = 1:num_comp
Si(i,i) = S(i,i);
comp(:,:,i) = U*Si*V’;
subplot(num_comp,1,i); imagesc(squeeze(comp(:,:,i)));
endAs preliminary to a larger project, I was trying out the SVD function with a test matrix made up by adding three 2D gaussians p1, p2, p3. I was hoping the SVD would be able to separate the function into these three components, and they would have the largest singular values in the S matrix.
I then tried to remake these components by setting everything except one singuar value in the S matrix to zero and calculating U*S_new*V’.
This does not make anything resembling my original components. Have I misunderstood how SVD should work, or have I misunderstood how separating the components should work?
I have attached my code:
% SVD test
clear all;
[X,Y] = meshgrid(-2:.1:4);
mu1 = [1 2];
Sigma1 = [5 3;3 5];
p1 = mvnpdf([X(:) Y(:)],mu1,Sigma1);
p1 = reshape(p1,size(X));
mu2 = [0 1];
Sigma2 = [3 0;0 1];
p2 = mvnpdf([X(:) Y(:)],mu2,Sigma2);
p2 = reshape(p2,size(X));
mu3 = [3 0];
Sigma3 = [2 1;1 2];
p3 = mvnpdf([X(:) Y(:)],mu3,Sigma3);
p3 = reshape(p3,size(X));
p = p1+p2+p3;
[U, S, V] = svd(p, "econ");
p_remade = U*S*V’;
figure;
subplot(3,1,1); imagesc(p1)
subplot(3,1,2); imagesc(p2)
subplot(3,1,3); imagesc(p3)
sgtitle("original components making p")
figure;
subplot(2,1,1); imagesc(p)
title("original p")
subplot(2,1,2); imagesc(p_remade)
title("SVD p")
num_comp = 3;
Si = zeros(size(S));
figure;
comp = zeros(length(S),length(S),num_comp);
for i = 1:num_comp
Si(i,i) = S(i,i);
comp(:,:,i) = U*Si*V’;
subplot(num_comp,1,i); imagesc(squeeze(comp(:,:,i)));
end As preliminary to a larger project, I was trying out the SVD function with a test matrix made up by adding three 2D gaussians p1, p2, p3. I was hoping the SVD would be able to separate the function into these three components, and they would have the largest singular values in the S matrix.
I then tried to remake these components by setting everything except one singuar value in the S matrix to zero and calculating U*S_new*V’.
This does not make anything resembling my original components. Have I misunderstood how SVD should work, or have I misunderstood how separating the components should work?
I have attached my code:
% SVD test
clear all;
[X,Y] = meshgrid(-2:.1:4);
mu1 = [1 2];
Sigma1 = [5 3;3 5];
p1 = mvnpdf([X(:) Y(:)],mu1,Sigma1);
p1 = reshape(p1,size(X));
mu2 = [0 1];
Sigma2 = [3 0;0 1];
p2 = mvnpdf([X(:) Y(:)],mu2,Sigma2);
p2 = reshape(p2,size(X));
mu3 = [3 0];
Sigma3 = [2 1;1 2];
p3 = mvnpdf([X(:) Y(:)],mu3,Sigma3);
p3 = reshape(p3,size(X));
p = p1+p2+p3;
[U, S, V] = svd(p, "econ");
p_remade = U*S*V’;
figure;
subplot(3,1,1); imagesc(p1)
subplot(3,1,2); imagesc(p2)
subplot(3,1,3); imagesc(p3)
sgtitle("original components making p")
figure;
subplot(2,1,1); imagesc(p)
title("original p")
subplot(2,1,2); imagesc(p_remade)
title("SVD p")
num_comp = 3;
Si = zeros(size(S));
figure;
comp = zeros(length(S),length(S),num_comp);
for i = 1:num_comp
Si(i,i) = S(i,i);
comp(:,:,i) = U*Si*V’;
subplot(num_comp,1,i); imagesc(squeeze(comp(:,:,i)));
end svd, linear algebra, matlab MATLAB Answers — New Questions
​
TCC Connection design matrix
I have a problem with forming a matrix in MATLAB according to the following formulas:
Could someone please write a complete MATLAB code that generates this matrix for an arbitrary number of elementsI have a problem with forming a matrix in MATLAB according to the following formulas:
Could someone please write a complete MATLAB code that generates this matrix for an arbitrary number of elements I have a problem with forming a matrix in MATLAB according to the following formulas:
Could someone please write a complete MATLAB code that generates this matrix for an arbitrary number of elements tcc MATLAB Answers — New Questions
​
Sensitivity Labels with User-Defined Permissions Gain SharePoint Support
User-Defined Permissions Support in SharePoint Opens Up Other Solutions
I wonder how many people bother to check pages like “What’s New in Microsoft Purview” on a regular basis. Well, the August 2025 update for sensitivity labels contains the very good news that Office and PDF files stored in SharePoint Online and OneDrive for Business now support sensitivity labels with user-defined permissions (UDP). This capability was originally announced in a Microsoft Technical Community post in August 2023. Following development, Microsoft launched the update in MC1013467 (21 February 2025) and said then that they expected the feature to be available in March 2025.
In this context, support means that the content of files protected by UDP labels can be indexed. And because the content is indexed, it is searchable and can be used by any solution that depends on search, like eDiscovery and Data Loss Prevention. This closes a gap that has existed since the introduction of sensitivity labels about ten years ago.
Associated with the change, I hear that Microsoft is working to update the browser versions of the Office apps to support the application of UDP labels. Today, only the desktop Office apps support UDP labels. No date is available for when the browser Office apps will support UDP labels, but it’s a work in progress.
Two Types of Sensitivity Label Permissions
Two forms of permission assignment exist for sensitivity labels. The most common are labels that have predefined permissions (usage rights) set by an administrator. These permissions are the same for every file or email that the label is assigned to, meaning that it is easy for workloads like SharePoint Online to extract, understand, and apply those permissions.
The second type is user-defined permissions. As the name implies, instead of an administrator determining the rights assigned by a label, the user who applies a label to a file decides what rights they grant to other users to access the item. Obviously, because different permissions exist for a label, it’s more complicated for a workload to extract and protect items based on the permissions for individual items. For years, SharePoint Online and OneDrive for Business avoided the issue by simply not supporting sensitivity labels with UDPs. This has now changed, and it’s a very welcome advance in the state of the art.
Assigning User-Defined Permissions
When the author of a file or email applies a UDP label to an item, they must define the set of permissions granted to other users over that item. The UX implementation includes a set of predefined permission levels that cover the most common use cases (Figure 1): Viewer, Restricted Editor, Editor, and Owner. Item owners can quickly assign these levels to people or groups, or you can use the More Options section to customize your permissions for specific needs. The implementation also includes a “people picker” to search for and assign permission to select people or groups from the same organization or external domains.

From an implementation perspective, it’s important to understand that the SharePoint support for UDPs only extends to newly-labeled or edited files. In other words, SharePoint Online does not apply retrospective support for files protected by UDP sensitivity labels. Instead, SharePoint Online processes files with UDP labels when a UDP label is assigned to the file or when a file that already has a UDP label is edited. Given the size of the Microsoft 365 infrastructure and the number of files with UDP labels that exist inside tenants, it’s logical that Microsoft should choose to process files on an on-demand basis.
Closing a Gap
Adding support in SharePoint Online for UDP sensitivity labels is a good thing. It closes a large and obvious gap. Tenants that have avoided UDP labels in the past because of the lack of SharePoint support can now revisit that decision.
Learn about managing SharePoint Online and the rest of Microsoft 365 by subscribing to the Office 365 for IT Pros eBook. Use our experience to understand what’s important and how best to protect your tenant.
Â
Stacked bar plot for negative ambient .
I have the components simulation data at -30C and steady bias , maneuver rise and margin (calculeted from given Tmax of each compoenent) to be plotted in stacked bar format ,
in the positive ambient the plots works fine but in negative ambient , the steady bias is starting from 0 (lets say @-30C , component setad bais is 6C , then it should start from -24C ?. see attched image .
please suggest the better ways to handle .
Thank you .I have the components simulation data at -30C and steady bias , maneuver rise and margin (calculeted from given Tmax of each compoenent) to be plotted in stacked bar format ,
in the positive ambient the plots works fine but in negative ambient , the steady bias is starting from 0 (lets say @-30C , component setad bais is 6C , then it should start from -24C ?. see attched image .
please suggest the better ways to handle .
Thank you . I have the components simulation data at -30C and steady bias , maneuver rise and margin (calculeted from given Tmax of each compoenent) to be plotted in stacked bar format ,
in the positive ambient the plots works fine but in negative ambient , the steady bias is starting from 0 (lets say @-30C , component setad bais is 6C , then it should start from -24C ?. see attched image .
please suggest the better ways to handle .
Thank you . negative ambient stacked plot MATLAB Answers — New Questions
​
addition of image files during compiling to make a standalone app
I have created an app design in MATLAB. This app shows the images in the right tab for choosen type in the left tab. Images are stored in the current folder. while running app in MATLAB, app is running smoothly without any error and also showing images as per requirement. then I used share option to make a standalone app. in the MATLAB compiler section, I have uploaded all the necessary files including images and clicked on packages. It made the app in a specific project folder. but after running the application from the folder named ‘for_testing’, images are not showing but the other things are working smoothly.
even after adding the image files in the the files required in the application to run, why the image is not showing in standalone app.I have created an app design in MATLAB. This app shows the images in the right tab for choosen type in the left tab. Images are stored in the current folder. while running app in MATLAB, app is running smoothly without any error and also showing images as per requirement. then I used share option to make a standalone app. in the MATLAB compiler section, I have uploaded all the necessary files including images and clicked on packages. It made the app in a specific project folder. but after running the application from the folder named ‘for_testing’, images are not showing but the other things are working smoothly.
even after adding the image files in the the files required in the application to run, why the image is not showing in standalone app. I have created an app design in MATLAB. This app shows the images in the right tab for choosen type in the left tab. Images are stored in the current folder. while running app in MATLAB, app is running smoothly without any error and also showing images as per requirement. then I used share option to make a standalone app. in the MATLAB compiler section, I have uploaded all the necessary files including images and clicked on packages. It made the app in a specific project folder. but after running the application from the folder named ‘for_testing’, images are not showing but the other things are working smoothly.
even after adding the image files in the the files required in the application to run, why the image is not showing in standalone app. matlab gui, matlab compiler, matlab app, matlab standalone app MATLAB Answers — New Questions
​
In Online MATLAB Simscape models will not run and give error
Hi,
In Online MATLAB (https://matlab.mathworks.com/) I am trying to run a Simscape example model, and I get an error when running:
Method ‘update’ is not defined for class ‘SSC.SimscapeCC’ or is removed from MATLAB’s search path.
But when looking at Add-Ons, it shows Simscape installed.
Best regardsHi,
In Online MATLAB (https://matlab.mathworks.com/) I am trying to run a Simscape example model, and I get an error when running:
Method ‘update’ is not defined for class ‘SSC.SimscapeCC’ or is removed from MATLAB’s search path.
But when looking at Add-Ons, it shows Simscape installed.
Best regards Hi,
In Online MATLAB (https://matlab.mathworks.com/) I am trying to run a Simscape example model, and I get an error when running:
Method ‘update’ is not defined for class ‘SSC.SimscapeCC’ or is removed from MATLAB’s search path.
But when looking at Add-Ons, it shows Simscape installed.
Best regards online MATLAB Answers — New Questions
​
Problem getting old desktop layout using 2025a
In old versions of MATLAB (pre 2025a) I could put the editor to the right of the command window, with the command window in the center of the screen (with things to its left). This no longer seems to be possible. Am I missing something? See below for old layout that I can’t reproduce.In old versions of MATLAB (pre 2025a) I could put the editor to the right of the command window, with the command window in the center of the screen (with things to its left). This no longer seems to be possible. Am I missing something? See below for old layout that I can’t reproduce. In old versions of MATLAB (pre 2025a) I could put the editor to the right of the command window, with the command window in the center of the screen (with things to its left). This no longer seems to be possible. Am I missing something? See below for old layout that I can’t reproduce. desktop MATLAB Answers — New Questions
​
Purview Priority Cleanup Expands to SharePoint and OneDrive
Priority Cleanup Can Remove Items Under Hold
Message Center notification MC1115304 (14 July 2025, Microsoft 365 roadmap item 496151) trumpets the “Introduction of secure workflow to bypass retention/legal holds on OneDrive and SharePoint.” It is the logical follow-on for the original preview of Purview Priority Cleanup that was launched earlier this year that was limited to removing mailbox items. Microsoft says that the public preview of the new capability will rollout between mid- and end-August 2025 with general availability due at the end of September 2025. Priority Cleanup is a premium solution, so E5 licenses are required.
Interestingly, Microsoft emphasizes that tenants can use priority cleanup to remove Copilot-related artifacts such as Teams recordings and transcripts independently of other content stored in users’ OneDrive for Business accounts. It’s always been possible to create an auto-label retention policy to target Teams recordings to make sure that these files don’t hang around too long. The difference is that a priority cleanup permanently removes the files even when a retention policy is in place to retain them for a set period.
Cleanups Aren’t Fast
When I reviewed Priority Cleanup in March 2025, I reported how Microsoft built the solution from several existing components and, while this approach is effective, it means that a priority cleanup can be quite slow to find, process, approve, and finally remove items. Don’t expect a cleanup to be a speedy operation, especially in large tenants, especially when hundreds or thousands of items are identified for checking.

The big selling point for Priority Cleanup is its ability to ignore retention holds. Let’s say that a tenant decides to remove all items associated with a specific project. The scope for the search might be a set of SharePoint Online sites and the OneDrive for Business accounts and mailboxes belonging to project members. A general retention policy of five years might apply to email and seven years to SharePoint and OneDrive. Priority Cleanup searches the target locations to find matching items, presents them for approval by a different administrator to the person who created the cleanup policy, and actions the decisions of that approver. If the decision is to remove items, Purview permanently erases the items from their host locations, ignoring retention policies, retention labels (including those that apply preservation lock), and eDiscovery or litigation holds. The documentation covers other details, including how items in eDiscovery review sets are processed and when a separate approval by a retention administrator is needed.
Who Needs to Ignore Retention?
The question is who needs to ignore the holds imposed by Purview Lifecycle management, Exchange MRM, or eDiscovery? It’s often true that email needs to be removed from mailboxes because some malware got through or someone posted something that they shouldn’t have. The latter case can be handled by Exchange’s much-improved message recall facility, at least within the tenant boundary. All bets are off when email escapes from the tenant. Removing malware is more problematic since the demise of the Search-Mailbox cmdlet. A compliance search purge action or eDiscovery purge will move the offending messages out of sight from user eyes, but the messages remain in mailboxes until any retention holds expire. Quite how much extra value is gained from removing the items before retention expires is debatable.
Things are different for SharePoint Online and OneDrive for Business. Purge actions don’t work for files and there’s never been an equivalent of a Search-Mailbox cmdlet for these locations. The two-phase recycle bin arrangement followed by retention (if needed) in the preservation hold library is more complex, especially when multiple versions of files are retained. Given the additional factors, it’s unsurprising that Microsoft has taken longer to create priority cleanup for SharePoint and OneDrive. However, the same question arises: who needs this feature?
Some Tenants Need to Remove Material
Answering myself, Microsoft must have a body of evidence from customers attesting to the need for priority cleanup. And I guess that if the process is managed properly with due regard to the need to keep business records and whatever other material is mandated by law, then priority cleanup has its place. It will be interesting to hear how tenants use this capability.
Insight like this doesn’t come easily. You’ve got to know the technology and understand how to look behind the scenes. Benefit from the knowledge and experience of the Office 365 for IT Pros team by subscribing to the best eBook covering Office 365 and the wider Microsoft 365 ecosystem.
Â
Battery ECM in simscape does not allow pole reversal
I want to simulate deep discharge of battery. Deep discharge is needed before recycling. My simulation does not work because Battery ECM does not allow negative voltage. How can I solve the following errror?
Error:Error compiling Simscape network for model battery_model.
Caused by:
[‘battery_model/Battery Equivalent Circuit’]: Elements of Open-circuit voltage, OCV(SOC,T) must be greater than or equal to zero.I want to simulate deep discharge of battery. Deep discharge is needed before recycling. My simulation does not work because Battery ECM does not allow negative voltage. How can I solve the following errror?
Error:Error compiling Simscape network for model battery_model.
Caused by:
[‘battery_model/Battery Equivalent Circuit’]: Elements of Open-circuit voltage, OCV(SOC,T) must be greater than or equal to zero. I want to simulate deep discharge of battery. Deep discharge is needed before recycling. My simulation does not work because Battery ECM does not allow negative voltage. How can I solve the following errror?
Error:Error compiling Simscape network for model battery_model.
Caused by:
[‘battery_model/Battery Equivalent Circuit’]: Elements of Open-circuit voltage, OCV(SOC,T) must be greater than or equal to zero. simscape, battery MATLAB Answers — New Questions
​
How do I improve the speed of mdfRead()?
Hi everyone!
I’ve got a number of files with several gigabytes worth of data, broken down into tens of channel groups and in total hundreds of variables.
mdfRead() then, understandably, takes ages and does not function on lower spec devices.
Is there any way to improve how we use mdfRead? I’ve checked the documentation and see no obvious reason that it’s taking longer than, say for example, a CSV of the exact same data.
No data to share I’m afraid as strictly speaking it’s not mine to share
Thanks in advance :)Hi everyone!
I’ve got a number of files with several gigabytes worth of data, broken down into tens of channel groups and in total hundreds of variables.
mdfRead() then, understandably, takes ages and does not function on lower spec devices.
Is there any way to improve how we use mdfRead? I’ve checked the documentation and see no obvious reason that it’s taking longer than, say for example, a CSV of the exact same data.
No data to share I’m afraid as strictly speaking it’s not mine to share
Thanks in advance 🙂 Hi everyone!
I’ve got a number of files with several gigabytes worth of data, broken down into tens of channel groups and in total hundreds of variables.
mdfRead() then, understandably, takes ages and does not function on lower spec devices.
Is there any way to improve how we use mdfRead? I’ve checked the documentation and see no obvious reason that it’s taking longer than, say for example, a CSV of the exact same data.
No data to share I’m afraid as strictly speaking it’s not mine to share
Thanks in advance 🙂 automotive, matlab, mdfread() MATLAB Answers — New Questions
​
Compatability of runtime engine with matlab gui application
To Whom It May Concern;
I have Matlab 2023b installed on my Windows 11 laptop. I recentely installed the Matlab 2024b runtime engine in order to run a program someone else developed. Soe the 2023b version of Matlab use the runtime engine? I ask because of difficulties I am having running a piece of code.To Whom It May Concern;
I have Matlab 2023b installed on my Windows 11 laptop. I recentely installed the Matlab 2024b runtime engine in order to run a program someone else developed. Soe the 2023b version of Matlab use the runtime engine? I ask because of difficulties I am having running a piece of code. To Whom It May Concern;
I have Matlab 2023b installed on my Windows 11 laptop. I recentely installed the Matlab 2024b runtime engine in order to run a program someone else developed. Soe the 2023b version of Matlab use the runtime engine? I ask because of difficulties I am having running a piece of code. versions of runtime engine compatability MATLAB Answers — New Questions
​
Advanced vehicle simulator to Virtual Vehicle Composer
Hello,I am currently working on the virtual vehicle composer app provided by Matlab, and I was wondering what are the parameters that I have to change in order to get my VVC model to act the same as the (very primitive) advisor model. I have already calibrated the engine, transmission and TCU, however I believe that I have missed some parameters since the model doesn’t behave exactly the same. Thank you…Hello,I am currently working on the virtual vehicle composer app provided by Matlab, and I was wondering what are the parameters that I have to change in order to get my VVC model to act the same as the (very primitive) advisor model. I have already calibrated the engine, transmission and TCU, however I believe that I have missed some parameters since the model doesn’t behave exactly the same. Thank you… Hello,I am currently working on the virtual vehicle composer app provided by Matlab, and I was wondering what are the parameters that I have to change in order to get my VVC model to act the same as the (very primitive) advisor model. I have already calibrated the engine, transmission and TCU, however I believe that I have missed some parameters since the model doesn’t behave exactly the same. Thank you… virtualvehiclecomposer, automotive, advisor MATLAB Answers — New Questions
​
Maintaining a Microsoft 365 Retention Policy with PowerShell
Problems with the Connect-IPPSSession Cmdlet in Azure Automation
Earlier this week, I discussed how to create a Microsoft 365 retention policy for shared mailboxes. In that article, I noted that additional processing would be needed to keep the retention policy updated as new shared mailboxes are created, mailboxes deleted, and even the conversion of user mailboxes to shared mailboxes and vice versa. This is the kind of scheduled background processing that is well suited to Azure Automation.
At least, that’s what I thought when I started to write the PowerShell script to do the work. The code to run interactively is simple to write. All the problems arise when making the code work in an Azure Automation runbook. The root problem is that the cmdlets in the security and compliance module (the ones accessed by running the Connect-IPPSSession cmdlet) don’t support managed identities like the main Exchange Online management modules does.
Support for managed identities makes running Exchange Online management cmdlets in an Azure Automation runbook a straightforward exercise. Care must be taken to ensure that the service principal for the automation account has the Exchange administrator role and is assigned the Manage Exchange as Application permission. After that, the connection with a managed identity works without a flaw.
The problem is that the developers who maintain the Security and Compliance module haven’t done the work to support managed identities. Microsoft publishes guidance for app-only access for unattended scripts, but the information doesn’t address the environment where Azure Automation runbooks execute. At least, I’ve had zero luck with any of Microsoft’s recommendations.
Back to PowerShell Credentials
Much to my disgust, I had to revert to account credentials passed in a PowerShell credential object. Not only does this seem like the kind of thing we did ten years ago, it means that you can’t use an account that is enabled for multifactor authentication. The only saving grace is that the credential object can be saved in the automation account and doesn’t need to be hardcoded in the script. My doubts were somewhat assuaged by using a long and complex password (Figure 1).

The stored credential can be retrieved in a runbook using the Get-AutomationPSCredential cmdlet and passed to the Connect-IPPSSession cmdlet with the Credential parameter. Here’s the code from the script that checks if the code is running interactively or not. You can see that Connect-ExchangeOnline and Connect-IPPSSession cmdlets run because access is needed to fetch details of shared mailboxes and to update the retention policy.
If ([Environment]::UserInteractive) { # We're running interactively... Write-Host "Script running interactively... connecting to Exchange Online PowerShell" -ForegroundColor Yellow [array]$Modules = Get-Module | Select-Object -ExpandProperty Name If ("ExchangeOnlineManagement" -Notin $Modules) { Write-Output "Connecting to Exchange Online..." Connect-ExchangeOnline -showBanner:$false } Write-Output "Connecting to Security & Compliance Center PowerShell..." Connect-IPPSSession -ShowBanner:$false } Else { # We're not, so likely in Azure Automation Write-Output "Running the update retention policy for Microsoft 365 shared mailboxes in Azure Automation" # Fetch the account credentials to use $O365Cred = Get-AutomationPSCredential -Name "AzureExchangeOperations" Connect-ExchangeOnline -Credential $O365Cred -DisableWAM Connect-IPPSSession -Credential $O365Cred }
The Need to Disable Windows Account Manager
The Connect-ExchangeOnline command uses the DIsableWAM parameter to disable Windows Account Manager. WAM is enabled by default from Exchange Online Management V3.7 onward and must be disabled in environments where normal interactive authentication is not possible. This fact is not widely known. WAM can also be used with the Microsoft Graph PowerShell SDK, but it’s not the default.
If a script only needs to run Connect-IPPSSession without first connecting to Exchange Online in a non-interactive environment, the call to Connect-IPPSSession should include the DisableWAM parameter. Of course, if you only need to connect to Exchange Online, use a managed identity.
Updating the Retention Policy
After solving the connection issue, the rest of the code was simple enough:
- Find the current set of shared mailboxes with Get-ExoMailbox.
- Find the set of shared mailboxes covered by the retention policy with the Get-RetentionCompliancePolicy cmdlet. It’s important to include the DistributionDetail parameter to force the population of targeted locations.
- Add shared mailboxes that aren’t covered by the retention policy.
- Remove any locations that aren’t shared mailboxes (deleted mailboxes or shared mailboxes converted to be user mailboxes).
- Update the retention policy with the Set-RetentionCompliancePolicy cmdlet.
- Remove Exchange MRM retention policies from the new shared mailboxes.
You can download the complete script from the Office 365 for IT Pros repository. Figure 2 shows a successful runbook in Azure Automation. The only thing to do is to add the runbook to an Azure Automation schedule so that it runs at an appropriate interval. Weekly should be sufficient.

Consistency Would be Nice
It would be nice if all the Microsoft 365 PowerShell modules supported managed identities and Azure automation in a constant and predictable manner. The priorities of different engineering groups means that this is not the current case. We can but hope that the situation will improve over time.
Need some assistance to write and manage PowerShell scripts for Microsoft 365? Get a copy of the Automating Microsoft 365 with PowerShell eBook, available standalone or as part of the Office 365 for IT Pros eBook bundle.
Â
How can i build a ZIP Load with the use of Specialized Power System Library components?
I am trying to make a 3 phase polynomial load (ZIP Load) using the Specialized Power Systems components, but i have not been succesful. How would you suggest i do it? What components should i include?I am trying to make a 3 phase polynomial load (ZIP Load) using the Specialized Power Systems components, but i have not been succesful. How would you suggest i do it? What components should i include? I am trying to make a 3 phase polynomial load (ZIP Load) using the Specialized Power Systems components, but i have not been succesful. How would you suggest i do it? What components should i include? sps, simscape, zipload MATLAB Answers — New Questions
​
What is the friction coefficient value used in the Magic Tire Model in ADT Stanley Controller for an Autonomous Vehicle (Highway)?
I am simulating ADT Stanley Controller for an Autonomous Vehicle (Highway), and I would like to know what value is used for the friction coeffcient () in the implementation of ADT Stanley Controller for an Autonomous Vehicle (Highway). Can anybody help please?
Best, Kanat.I am simulating ADT Stanley Controller for an Autonomous Vehicle (Highway), and I would like to know what value is used for the friction coeffcient () in the implementation of ADT Stanley Controller for an Autonomous Vehicle (Highway). Can anybody help please?
Best, Kanat. I am simulating ADT Stanley Controller for an Autonomous Vehicle (Highway), and I would like to know what value is used for the friction coeffcient () in the implementation of ADT Stanley Controller for an Autonomous Vehicle (Highway). Can anybody help please?
Best, Kanat. vehicle dynamics modelling, friction coefficient MATLAB Answers — New Questions
​