Category: News
Running Tracker GNN in difficult situations
Is there any way we can use trackerGNN and it perfoms well in the case of high false alarms, clutter density and also the additional issues like missed detections and azimithuth errors of radar system itself. What could be the possible techniques to perform robust data association while remaining in the framework of Global Nearest Neighbour Tracking?Is there any way we can use trackerGNN and it perfoms well in the case of high false alarms, clutter density and also the additional issues like missed detections and azimithuth errors of radar system itself. What could be the possible techniques to perform robust data association while remaining in the framework of Global Nearest Neighbour Tracking? Is there any way we can use trackerGNN and it perfoms well in the case of high false alarms, clutter density and also the additional issues like missed detections and azimithuth errors of radar system itself. What could be the possible techniques to perform robust data association while remaining in the framework of Global Nearest Neighbour Tracking? trackergnn MATLAB Answers — New Questions
Improving the Processing of Protected Messages in Shared Mailboxes
Mail-Enabled Security Groups with Full Access to Shared Mailboxes Makes Access to Protected Messages Easier to Control
Microsoft Purview Message Encryption (previously Office 365 message encryption) or OME allows users to apply two pre-defined rights management-based templates called Do Not Forward and Encrypt Only to protect email. Messages sent to other Microsoft 365 tenants can be read inline by Outlook clients while recipients of messages sent to other email services can read the protected content through the OME portal. Protection extends to email attachments.
Unlike the sensitivity labels created for tenants, administrators cannot edit the settings of the OME templates. The same settings apply in all tenants where OME is configured. For instance, when Outlook clients open messages protected by the Do Not Forward template, the clients disable the Forward, Save As, and Print options and don’t allow the recipient to change the recipient list for a reply.
Improving Access to Protected Messages Delivered to Shared Mailboxes
Shared mailboxes are an important part of the Exchange Online messaging landscape. Since the introduction of Azure Information Protection in 2016, Microsoft has steadily improved the ability of users with access to shared mailboxes to process protected messages. A recent important enhancement is described in message center notification MC794814 (21 May 2024, Microsoft 365 roadmap item 385345), which reports that members of a mail-enabled security group with access to a shared mailbox can read and respond to protected messages.
The caveat is that members of the mail-enabled security group can only read protected messages generated after Microsoft deploys the feature to a tenant. Rollout completed in September 2024, so that shouldn’t be a problem now. Older protected email cannot be read because the “protected wrapper” around those messages doesn’t support access via a mail-enabled security group.
Figure 1 shows a message protected with the Do Not Forward template being read in Outlook (classic). In this case, my account is a member of a mail-enabled security group granted Full Access permission for the Complaints mailbox.

No Need for Direct User Assignment
The important point here is that direct user assignment to the shared mailbox with automapping enabled is no longer required. Direct assignment means that an administrator grants Full Access permission for the shared mailbox to a user account. Automapping is a process where Exchange Online adds a shared mailbox to a profile so that the Outlook (classic) client automatically opens the shared mailbox. This method still works, but now you have the option to use a mail-enabled security group to control shared mailbox membership instead.
Although the mail-enabled security group method works very nicely to allow users to open and read protected messages, remember that separate delegation is required to allow people to send email from the shared mailbox. This can be a Send As or Send on Behalf Of permission.
Why mention a feature launched last year when every Microsoft 365 tenant struggles to manage the ongoing flood of new product feature announcements? Well, the new method seems to have passed people by, so I thought it would be good to highlight it and give the mail-enabled security group approach a little boost. In addition, although MC794814 focused on the Do Not Forward and Encrypt Only templates, it seems like users granted access to a shared mailbox via a mail-enabled security group can read email protected by sensitivity labels too, if the rights assigned in those labels allow access.
Support in OWA and the New Outlook
OWA and the New Outlook are usually faster at deploying enhancements for protected messages. These clients work online and fetch the necessary authorization (use licenses) as required. Outlook (classic) can work offline, so getting the use licenses is more complicated.
OWA and the New Outlook also support the ability to work with protected messages when access is granted via a mail-enabled security group. Figure 2 shows OWA being used to read a protected message in a shared mailbox.

Microsoft Purview message encryption is available to all tenants with Office 365 E3 licenses and above. The Do Not Forward and Encrypt Only templates are very useful and the number of tenants using sensitivity labels grows all the time. Easier access to protected messages in shared mailboxes is welcome, even if it’s taken me far too long to acknowledge the update.
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.
Random Forest with paired observations: how to maintain subject separation
When using classifiers like SVM, I keep observations from each subject together by using a custom cross-validation partition. Random forest uses bootstrap aggregation instead of cross-validation, so I need a way of telling it to keep each subject’s observations together: i.e. a subject has to be either fully in or out of the bag, not some observations in and some out. How do I do this in Matlab?
I can write code to generate the bootstrapped data that TreeBagger could use for each tree, analogous to a custom CVPartition, but there seems to be no way of passing this to TreeBagger. How does one achieve this in Matlab?
(I do realise that one solution to keep subjects together is to use cross-validation on top of bagging, but that shouldn’t be necessary and greatly slows the whole process down, e.g. 10-fold CV would be expected to take ten times as long. I could also manually roll the whole random forest process, but then I don’t have a TreeBagger object that I can pass to other functions, etc.)
rf = TreeBagger(numTrees, X, Y, …
‘Method’, ‘classification’, …
‘OOBPrediction’, ‘on’, …
‘NumPredictorsToSample’, mtry, …
‘MinLeafSize’, 3)When using classifiers like SVM, I keep observations from each subject together by using a custom cross-validation partition. Random forest uses bootstrap aggregation instead of cross-validation, so I need a way of telling it to keep each subject’s observations together: i.e. a subject has to be either fully in or out of the bag, not some observations in and some out. How do I do this in Matlab?
I can write code to generate the bootstrapped data that TreeBagger could use for each tree, analogous to a custom CVPartition, but there seems to be no way of passing this to TreeBagger. How does one achieve this in Matlab?
(I do realise that one solution to keep subjects together is to use cross-validation on top of bagging, but that shouldn’t be necessary and greatly slows the whole process down, e.g. 10-fold CV would be expected to take ten times as long. I could also manually roll the whole random forest process, but then I don’t have a TreeBagger object that I can pass to other functions, etc.)
rf = TreeBagger(numTrees, X, Y, …
‘Method’, ‘classification’, …
‘OOBPrediction’, ‘on’, …
‘NumPredictorsToSample’, mtry, …
‘MinLeafSize’, 3) When using classifiers like SVM, I keep observations from each subject together by using a custom cross-validation partition. Random forest uses bootstrap aggregation instead of cross-validation, so I need a way of telling it to keep each subject’s observations together: i.e. a subject has to be either fully in or out of the bag, not some observations in and some out. How do I do this in Matlab?
I can write code to generate the bootstrapped data that TreeBagger could use for each tree, analogous to a custom CVPartition, but there seems to be no way of passing this to TreeBagger. How does one achieve this in Matlab?
(I do realise that one solution to keep subjects together is to use cross-validation on top of bagging, but that shouldn’t be necessary and greatly slows the whole process down, e.g. 10-fold CV would be expected to take ten times as long. I could also manually roll the whole random forest process, but then I don’t have a TreeBagger object that I can pass to other functions, etc.)
rf = TreeBagger(numTrees, X, Y, …
‘Method’, ‘classification’, …
‘OOBPrediction’, ‘on’, …
‘NumPredictorsToSample’, mtry, …
‘MinLeafSize’, 3) random forest, pair, separate, bootstrap, bagging MATLAB Answers — New Questions
Why is uiaxes small by default in a uifigure?
I noticed that uiaxes does not position well by default on a uiaxes.
When I use "axes", it fills the figure as I would expect.
>> fig = figure;
>> ax = axes(fig);
However, when I use "uiaxes", it does not fill the uifigure completely, and it only takes up the bottom corner of the figure.
>> uifig = uifigure;
>> uiax = uiaxes(uifig);
Why is this happening?I noticed that uiaxes does not position well by default on a uiaxes.
When I use "axes", it fills the figure as I would expect.
>> fig = figure;
>> ax = axes(fig);
However, when I use "uiaxes", it does not fill the uifigure completely, and it only takes up the bottom corner of the figure.
>> uifig = uifigure;
>> uiax = uiaxes(uifig);
Why is this happening? I noticed that uiaxes does not position well by default on a uiaxes.
When I use "axes", it fills the figure as I would expect.
>> fig = figure;
>> ax = axes(fig);
However, when I use "uiaxes", it does not fill the uifigure completely, and it only takes up the bottom corner of the figure.
>> uifig = uifigure;
>> uiax = uiaxes(uifig);
Why is this happening? uiaxes, uifigure, position, axes, size, small MATLAB Answers — New Questions
For the trainNetwork function, progress plots for training are not closing, except if done manually. How do I close it? I have tried close all, close force, close(fig), & more
Please only answer if you have tried to use trainNetwork with the same plot below, and the answer works for that in Matlab 2023a and Matlab2023b as this seems to be a special case where the close function does not work as normal, and more. I have tried many things and other things. Below is the code.
options = trainingOptions(‘adam’, …
‘InitialLearnRate’,0.002, …
‘LearnRateSchedule’,’piecewise’,…
‘LearnRateDropPeriod’,1000, …
‘LearnRateDropFactor’,0.75,…
‘MiniBatchSize’,40,…
‘Shuffle’,’every-epoch’, …
‘MaxEpochs’,7000, …
‘Verbose’,false, …
‘Plots’,’training-progress’, …
‘ExecutionEnvironment’,’gpu’);
%MaxEpochs was 7000,
[net, info] = trainNetwork(trainEps,trainH,layers,options);
currentfig = findall(groot,’Tag’,’NNET_CNN_TRAININGPLOT_UIFIGURE’);
save([namedd2],…
"net","cmlSz","test","lblTrain","ulTrain",…
"cmlPref","cmlMed","cmlSuf","info")
close all
clear trainEpsPlease only answer if you have tried to use trainNetwork with the same plot below, and the answer works for that in Matlab 2023a and Matlab2023b as this seems to be a special case where the close function does not work as normal, and more. I have tried many things and other things. Below is the code.
options = trainingOptions(‘adam’, …
‘InitialLearnRate’,0.002, …
‘LearnRateSchedule’,’piecewise’,…
‘LearnRateDropPeriod’,1000, …
‘LearnRateDropFactor’,0.75,…
‘MiniBatchSize’,40,…
‘Shuffle’,’every-epoch’, …
‘MaxEpochs’,7000, …
‘Verbose’,false, …
‘Plots’,’training-progress’, …
‘ExecutionEnvironment’,’gpu’);
%MaxEpochs was 7000,
[net, info] = trainNetwork(trainEps,trainH,layers,options);
currentfig = findall(groot,’Tag’,’NNET_CNN_TRAININGPLOT_UIFIGURE’);
save([namedd2],…
"net","cmlSz","test","lblTrain","ulTrain",…
"cmlPref","cmlMed","cmlSuf","info")
close all
clear trainEps Please only answer if you have tried to use trainNetwork with the same plot below, and the answer works for that in Matlab 2023a and Matlab2023b as this seems to be a special case where the close function does not work as normal, and more. I have tried many things and other things. Below is the code.
options = trainingOptions(‘adam’, …
‘InitialLearnRate’,0.002, …
‘LearnRateSchedule’,’piecewise’,…
‘LearnRateDropPeriod’,1000, …
‘LearnRateDropFactor’,0.75,…
‘MiniBatchSize’,40,…
‘Shuffle’,’every-epoch’, …
‘MaxEpochs’,7000, …
‘Verbose’,false, …
‘Plots’,’training-progress’, …
‘ExecutionEnvironment’,’gpu’);
%MaxEpochs was 7000,
[net, info] = trainNetwork(trainEps,trainH,layers,options);
currentfig = findall(groot,’Tag’,’NNET_CNN_TRAININGPLOT_UIFIGURE’);
save([namedd2],…
"net","cmlSz","test","lblTrain","ulTrain",…
"cmlPref","cmlMed","cmlSuf","info")
close all
clear trainEps deep learning MATLAB Answers — New Questions
Power output mismatch in simulating electric drivetrain, where expected power flow is Pbatt>Pdcdc>Pdcac>Pmotor,. I dont see that in my simulation.
Hi All,
I am simulating an electric drivetrain for marine application , where after designing the models I need to export the models to FMU . I am using the simscape electrical models, however , since I need to export , I have packaged them as susbsytem (using voltage and current measurement outputs as output and input signals)before connecting them to the other models in the drive train rather than directly connecting them in the electrical sense.
I have noticed that , when I directly connect the simscape models I/Os of say motor, converters etc , I see that the drivetrain works as expected in the sense, power flow is as expected i;e.,Pbatt>Pdcdc>Pdcac>Pmotor . However, If I use the subsystems to connect the models and run the simulation , I see a different behavious in the start and also the values of the Power outputs from each block , current etc mismatch.
Initially , I thought should be some intial value setting . But after I made sure the inital values are keyed in correctly , still I wasnt getting the results properly.
I need some help to resolve this issue from the community who has dealt with similar issues or can help me identify where it is going wrong.
I have attached my simulatio and parameters file , with screen shots of the scopes to look at.
Thanks in advance.Hi All,
I am simulating an electric drivetrain for marine application , where after designing the models I need to export the models to FMU . I am using the simscape electrical models, however , since I need to export , I have packaged them as susbsytem (using voltage and current measurement outputs as output and input signals)before connecting them to the other models in the drive train rather than directly connecting them in the electrical sense.
I have noticed that , when I directly connect the simscape models I/Os of say motor, converters etc , I see that the drivetrain works as expected in the sense, power flow is as expected i;e.,Pbatt>Pdcdc>Pdcac>Pmotor . However, If I use the subsystems to connect the models and run the simulation , I see a different behavious in the start and also the values of the Power outputs from each block , current etc mismatch.
Initially , I thought should be some intial value setting . But after I made sure the inital values are keyed in correctly , still I wasnt getting the results properly.
I need some help to resolve this issue from the community who has dealt with similar issues or can help me identify where it is going wrong.
I have attached my simulatio and parameters file , with screen shots of the scopes to look at.
Thanks in advance. Hi All,
I am simulating an electric drivetrain for marine application , where after designing the models I need to export the models to FMU . I am using the simscape electrical models, however , since I need to export , I have packaged them as susbsytem (using voltage and current measurement outputs as output and input signals)before connecting them to the other models in the drive train rather than directly connecting them in the electrical sense.
I have noticed that , when I directly connect the simscape models I/Os of say motor, converters etc , I see that the drivetrain works as expected in the sense, power flow is as expected i;e.,Pbatt>Pdcdc>Pdcac>Pmotor . However, If I use the subsystems to connect the models and run the simulation , I see a different behavious in the start and also the values of the Power outputs from each block , current etc mismatch.
Initially , I thought should be some intial value setting . But after I made sure the inital values are keyed in correctly , still I wasnt getting the results properly.
I need some help to resolve this issue from the community who has dealt with similar issues or can help me identify where it is going wrong.
I have attached my simulatio and parameters file , with screen shots of the scopes to look at.
Thanks in advance. power flow, electric drive MATLAB Answers — New Questions
D-Statcom implementation on IEEE 14 bus system
how to implement D-Statcom on IEEE 14 bus systemhow to implement D-Statcom on IEEE 14 bus system how to implement D-Statcom on IEEE 14 bus system d-statcom, ieee 14 bus, load flow model, optimization, sizing MATLAB Answers — New Questions
Copying Group Membership with the Microsoft Graph PowerShell SDK
How to Copy Group Membership from One User Account to Another Account
Now that Microsoft has confirmed the final retirement of the Azure AD module in mid-October 2025, the pressure is on to find and update scripts used for operational purposes. The time for learning how to use the Microsoft Graph APIs is past. The focus is now on turning knowledge into Graph-powered scripts.
Which brings me to a question about how to copy group membership from one user account to another. It’s the kind of thing that features in many online forums. In this example, the answer is:
Get-AzureADUserMembership -ObjectId {source user object id}|foreach { Add-AzureADGroupMember -ObjectId $_.ObjectId -RefObjectId {new user object id} }
Another example of the art is found here. The point is that copying group membership from one account to another is clearly something that many people do. I can see why this might be so. For instance, you might want to copy group membership from an account to a new joiner’s account to include them in a bunch of teams.
Alas, the Graph is different to Azure AD, and converting a script to perform the task with the cmdlets from the Microsoft Graph PowerShell SDK is not straightforward. Here’s a few things to think about when dealing with Entra ID groups. The set includes Microsoft 365 groups, security groups, mail-enabled security groups, and distribution lists.
Copying All Group Memberships or Just Some
It seems sensible to make someone a member of work-related groups based on the memberships of another user, but what about groups that are not work-related or don’t align with a specific job or operating unit? The groups used by many teams and Viva Engage (Yammer) communities accommodate discussions about topics that are not strictly associated with the business of an organization, and membership of those groups are determined by an individual’s interest rather than what they do.
Marking Work-Related Groups
Sensitivity labels are the obvious answer to mark work-related groups, but that only works if a tenant uses sensitivity labels for container management and assigns specific labels for groups that are not work-related. Sensitivity labels have become more popular over the last few years, but they are only available to tenants with Office 365 E3 or above licenses. A custom attribute could be used, but that requires the organization to ensure that all groups used for work or non-work topics are clearly marked.
Handling Dynamic Entra ID Groups
Dynamic Entra ID groups use membership rules based on account properties to calculate group membership. It’s very possible to extract the membership rule for a dynamic Entra ID group and figure out what properties to update to add someone to the membership of a dynamic group, but the risk exists that such an update might interfere with the membership rules of other dynamic groups.
Exchange Distribution Lists
Exchange distribution lists are replicated from Exchange to Entra ID, meaning that when a cmdlet runs to find Entra ID groups, the set returned includes distribution lists. Mail-enabled security groups are a form of distribution list. If you want to copy the membership of mail-enabled security groups and regular distribution lists, you’ll need to do this with Exchange Online cmdlets instead of Microsoft Graph PowerShell SDK cmdlets.
Dynamic distribution lists are not replicated from Exchange Online to Entra ID, so the Graph PowerShell SDK cmdlets ignore these objects. If you want to copy membership to dynamic distribution lists, you’ll need to update mailbox properties to match the OPATH queries used by dynamic distribution lists.
Selecting the Right Cmdlet to Copy Group Membership
The Microsoft Graph PowerShell SDK has two cmdlets to fetch memberships held by a user. The Get-MgUserMemberGroup cmdlet performs a transitive lookup to return a set of identifiers for the groups that an account belongs to. The SecurityEnabledOnly switch parameter determines if the cmdlet returns only security-enabled groups or all groups:
[array]$Groups = Get-MgUserMemberGroup -UserId $User.Id -SecurityEnabledOnly:$false
The Get-MgUserMemberOf cmdlet returns groups, administrative roles, and administrative units (including dynamic administrative units) that a user is a member of. In other words, the objects fetched by the cmdlet must be filtered to extract the objects of interest. This command shows how to apply a client-side filter to find groups that don’t use dynamic membership:
[array]$Groups = Get-MgUserMemberOf -UserId $User.Id -All -PageSize 500 | ` Where-Object { ($_.additionalProperties.'@odata.type' -eq '#microsoft.graph.group') -and ( -not ($_.additionalProperties.groupTypes -contains "DynamicMembership") ) } | Select-Object -ExpandProperty Id If ($null -eq $SourceGroups) { Write-Host "No groups found for user $($SourceUser.DisplayName)." -ForegroundColor Yellow Break }
The Get-MgUserMemberOf cmdlet is often preferable because it returns more than a simple list of group identifiers. As you can see from the example above, because the cmdlet deals with different object types, the additionalProperties property contains data that is of value to find specific groups.
An Example Script
A working example is usually helpful to demonstrate how to put principles into action. I’ve written a script that’s downloadable from GitHub to show how to fetch the set of groups from one account and copy the membership to another. The script (Figure 1) includes code to handle the different types of Entra ID groups and to check that it only attempts to add groups that a user isn’t already a member of. It’s enough to serve as the basis for a solution that might meet the needs of your tenant. I’ll let you make the decision about enhancements, such as removing the membership of the source user as groups are processed.

If you need more help to convert old Azure AD scripts, why not invest in a copy of the Automating Microsoft 365 with PowerShell eBook? It includes a bunch of useful examples like those above. The book is available separately or as part of the Office 365 for IT Pros eBook bundle.
Zombie MATLAB Processes Remain After parpool/parfor and delete(gcp(‘nocreate’))
I’m encountering a persistent issue with MATLAB’s Parallel Computing Toolbox when using "parpool(‘Processes’, 20)" or "parpool(20)" and later "parfor" computing.
I launch a pool using "parpool(‘Processes’, 20)" or "parpool(20)" and then run a parfor loop. During execution, CPU and memory usage behave normally.
After the computation ends as expectation, I call "delete(gcp(‘nocreate’))" to close the parallel pool or time ends MATLAB shuts it down. However, CPU usage spikes to 100%, and dozens of MATLAB background processes remain visible in Task Manager, each using ~1–2% CPU. Even after closing the main MATLAB GUI, the processes continue running.
The only thing i can do is restart the computer.I’m encountering a persistent issue with MATLAB’s Parallel Computing Toolbox when using "parpool(‘Processes’, 20)" or "parpool(20)" and later "parfor" computing.
I launch a pool using "parpool(‘Processes’, 20)" or "parpool(20)" and then run a parfor loop. During execution, CPU and memory usage behave normally.
After the computation ends as expectation, I call "delete(gcp(‘nocreate’))" to close the parallel pool or time ends MATLAB shuts it down. However, CPU usage spikes to 100%, and dozens of MATLAB background processes remain visible in Task Manager, each using ~1–2% CPU. Even after closing the main MATLAB GUI, the processes continue running.
The only thing i can do is restart the computer. I’m encountering a persistent issue with MATLAB’s Parallel Computing Toolbox when using "parpool(‘Processes’, 20)" or "parpool(20)" and later "parfor" computing.
I launch a pool using "parpool(‘Processes’, 20)" or "parpool(20)" and then run a parfor loop. During execution, CPU and memory usage behave normally.
After the computation ends as expectation, I call "delete(gcp(‘nocreate’))" to close the parallel pool or time ends MATLAB shuts it down. However, CPU usage spikes to 100%, and dozens of MATLAB background processes remain visible in Task Manager, each using ~1–2% CPU. Even after closing the main MATLAB GUI, the processes continue running.
The only thing i can do is restart the computer. parpool, parfor, parallel computing MATLAB Answers — New Questions
How to identify city names from shapefiles with coordinate bounds provided
I have urban sprawl shapefiles showing the urban expansion cities across the US. However, the attribute table does not provide city names or zip codes. Only city bounds are available in the form of polygons in the shapefile. Is it possible to identify particular city names that surround the urban areas from the available shapefile based on the urban lat-long bounds of the polygons?I have urban sprawl shapefiles showing the urban expansion cities across the US. However, the attribute table does not provide city names or zip codes. Only city bounds are available in the form of polygons in the shapefile. Is it possible to identify particular city names that surround the urban areas from the available shapefile based on the urban lat-long bounds of the polygons? I have urban sprawl shapefiles showing the urban expansion cities across the US. However, the attribute table does not provide city names or zip codes. Only city bounds are available in the form of polygons in the shapefile. Is it possible to identify particular city names that surround the urban areas from the available shapefile based on the urban lat-long bounds of the polygons? shapefile, mapping MATLAB Answers — New Questions
Matlab installer not working
Hi
I’m trying to install MATLAB on a new laptop (Windows 11). I’ve downloaded the installer via my university account. When I run, it unzips the installer but then closes silently with no error message.
There is a setup.exe in the folder it creates but this also does not run – just asks if I want to install and then nothing. I’ve tried disabling anti-virus, running as administrator from the command line and tried an earlier version.
Any ideas how to install?
Many thanksHi
I’m trying to install MATLAB on a new laptop (Windows 11). I’ve downloaded the installer via my university account. When I run, it unzips the installer but then closes silently with no error message.
There is a setup.exe in the folder it creates but this also does not run – just asks if I want to install and then nothing. I’ve tried disabling anti-virus, running as administrator from the command line and tried an earlier version.
Any ideas how to install?
Many thanks Hi
I’m trying to install MATLAB on a new laptop (Windows 11). I’ve downloaded the installer via my university account. When I run, it unzips the installer but then closes silently with no error message.
There is a setup.exe in the folder it creates but this also does not run – just asks if I want to install and then nothing. I’ve tried disabling anti-virus, running as administrator from the command line and tried an earlier version.
Any ideas how to install?
Many thanks installation, matlab MATLAB Answers — New Questions
Cannot install MatLab on my Windows 10 Laptop
I’m at my wit’s end trying to install MatLab. I have homework that’s due, and it won’t install for me.
I have a "Lenovo ideapad" laptop with a Windows 10 operating system.
I have already loaded my key onto MathWorks and downloaded the installer. I clicked on "Log In with a MathWorks account" and accepted the terms. I typed in my correct MathWorks account name and password. I only have one license, so it was already highlighted; I’ve also tried clicking on it to make sure it was selected. It asks me to choose an installation folder, and I accept the default folder name they suggest. After I click on "Next" from this point, it brings up a window that says the following:
"Connection Error
" The application could not connect to MathWorks.
"For more information on resolving this issue, see this Support Article"
After clicking on "OK", it takes me back to the screen I was just at, for choosing an installation folder.
I checked the support article the link led me to, but nothing has helped so far. I have no clue why it won’t connect. Keep in mind that this is the MathWorks Installer program; I haven’t been able to install MatLab yet.
Please help??? Nobody at my school knew what to do about this either. {:-(I’m at my wit’s end trying to install MatLab. I have homework that’s due, and it won’t install for me.
I have a "Lenovo ideapad" laptop with a Windows 10 operating system.
I have already loaded my key onto MathWorks and downloaded the installer. I clicked on "Log In with a MathWorks account" and accepted the terms. I typed in my correct MathWorks account name and password. I only have one license, so it was already highlighted; I’ve also tried clicking on it to make sure it was selected. It asks me to choose an installation folder, and I accept the default folder name they suggest. After I click on "Next" from this point, it brings up a window that says the following:
"Connection Error
" The application could not connect to MathWorks.
"For more information on resolving this issue, see this Support Article"
After clicking on "OK", it takes me back to the screen I was just at, for choosing an installation folder.
I checked the support article the link led me to, but nothing has helped so far. I have no clue why it won’t connect. Keep in mind that this is the MathWorks Installer program; I haven’t been able to install MatLab yet.
Please help??? Nobody at my school knew what to do about this either. {:-( I’m at my wit’s end trying to install MatLab. I have homework that’s due, and it won’t install for me.
I have a "Lenovo ideapad" laptop with a Windows 10 operating system.
I have already loaded my key onto MathWorks and downloaded the installer. I clicked on "Log In with a MathWorks account" and accepted the terms. I typed in my correct MathWorks account name and password. I only have one license, so it was already highlighted; I’ve also tried clicking on it to make sure it was selected. It asks me to choose an installation folder, and I accept the default folder name they suggest. After I click on "Next" from this point, it brings up a window that says the following:
"Connection Error
" The application could not connect to MathWorks.
"For more information on resolving this issue, see this Support Article"
After clicking on "OK", it takes me back to the screen I was just at, for choosing an installation folder.
I checked the support article the link led me to, but nothing has helped so far. I have no clue why it won’t connect. Keep in mind that this is the MathWorks Installer program; I haven’t been able to install MatLab yet.
Please help??? Nobody at my school knew what to do about this either. {:-( installation, error, windows 10, laptop MATLAB Answers — New Questions
Copilot Audio Overviews for OneDrive Documents
Create Audio Overviews for Word and PDF Files and Teams Transcripts
Message center notifications MC1061100 (updated 2 July 2025) and MC1060872 (updated 3 July 2025) both focus on audio overviews generated from documents (Word and PDFs) and Teams meetings (transcripts) stored in OneDrive for Business and Copilot Notebooks. This is yet another example of Microsoft applying AI to Microsoft 365 information. The question is whether having an audio review of a file is of real value or a demonstration of technology that might be used once and then forgotten.
This feature requires a Microsoft 365 Copilot license.
Generating an Audio Overview
The implementation is simple. The Copilot menu for a supported file type in the OneDrive for Business browser interface includes the Create an audio overview option (Figure 1).

Selecting the option causes Copilot to process the file. Logically, it seems like Copilot summarizes the file into a format similar to a Teams transcript and uploads the output to the Azure Audio Stack for transformation into an audio stream (users can save the summary as an .MP3 file in the Recordings folder of their OneDrive for Business account). For now, only English language audio overviews are available, and only files in English can be processed. Copilot politely refused to process documents that contained non-English text, even when the majority of the text was in English. On the other hand, Copilot had no problem processing files containing computer code, such as the PowerShell examples.
Given that Copilot can generate document summaries in different languages and the support for many languages in the Azure Audio Stack, it seems likely that support for other languages will come soon. I also expect to see UX provided to allow users to select other settings, such as the voices used for output (see below).
MC1060872 says that the OneDrive mobile app can generate audio overviews. I haven’t seen the mobile option appear yet.
Audio Overview Styles
The default style summarizes the key points in a document. If you prefer, you can switch the overview to a podcast style using the option in the […] menu. Essentially, the summary is a report of a document read by a single person. The podcast style usually generates a shorter audio stream that’s delivered by two “hosts” (a male voice and a female voice, both with neutral American accents). Figure 2 shows an overview being played with the transcript visible together with the option to switch style.

The audio overview option advises that generation could take a few minutes. I discovered that this is accurate and that overviews for even very large files were available in a couple of minutes. For example, I asked Copilot to generate an audio overview of the Word document for the latest Office 365 for IT Pros eBook. This is a large and complex file (28 MB, 1,250 pages, 22 chapters, and many figures and tables), so I thought it would be a good test. The audio overview was available in less than two minutes. You can download and listen to the summary and podcast versions using the links below to get an idea about the quality and type of output generated for an audio overview.
The DLP Block for Microsoft 365 Copilot
Interestingly, the DLP policy for Microsoft 365 Copilot blocks Copilot from generating audio overviews. I shouldn’t be surprised at this because the idea behind the policy is to stop Copilot from processing confidential files assigned specific sensitivity labels. As noted above, Copilot generates an audio overview using a transcript summary produced from a file. To create the summary, Copilot must be able to extract the file content but is blocked by the DLP policy.
When asked to create an audio overview from a protected file that comes within the scope of the DLP policy, Copilot chews on the problem for a few minutes before concluding that it can’t do anything and errors out (Figure 3). OneDrive must be refreshed before further files can be processed.

Although it’s good that the DLP policy for Microsoft 365 Copilot does its job, the poor user experience in the OneDrive for Business browser interface is evidence that the folks who created the audio overview option never considered that a policy might block Copilot access to a file. It would be much better if the UX displayed an immediate error message to say that Copilot cannot process a file instead of making the user wait for a few minutes before Copilot times out.
Are Audio Overviews Valuable?
I might not be the right target market for audio overviews. I suspect that this feature is directed towards people who can’t use regular Copilot document summaries. In this context, I think audio overviews will be very useful. Another scenario where the feature might shine is the ability to save audio overviews of files to OneDrive for listening to during commutes or other journeys. Like all the AI-driven features, the value comes down to the individual. I’m not sure I will ever use a Copilot-generated audio overview again, but I know how to create one if I need it.
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.
Why Can an Anonymous Function be Defined with a Non-Existent Parameter?
Define an anonymous function with one argument (x) and one parameter (y)
f = @(x) x + y;
I’m suprised that line sails through without an error (or even a warning) even though there is no variable called y in the workspace at the time f() is defined.
Calling f results in an error (unsurprisingly)
try
f(2)
catch ME
ME.message
end
Once f() is defined, I don’t believe there is any way to subsequently define y such that f() works.
Would it be better if an error (or at least a warning) is generated at the time of function definition rather than at the time of function execution?Define an anonymous function with one argument (x) and one parameter (y)
f = @(x) x + y;
I’m suprised that line sails through without an error (or even a warning) even though there is no variable called y in the workspace at the time f() is defined.
Calling f results in an error (unsurprisingly)
try
f(2)
catch ME
ME.message
end
Once f() is defined, I don’t believe there is any way to subsequently define y such that f() works.
Would it be better if an error (or at least a warning) is generated at the time of function definition rather than at the time of function execution? Define an anonymous function with one argument (x) and one parameter (y)
f = @(x) x + y;
I’m suprised that line sails through without an error (or even a warning) even though there is no variable called y in the workspace at the time f() is defined.
Calling f results in an error (unsurprisingly)
try
f(2)
catch ME
ME.message
end
Once f() is defined, I don’t believe there is any way to subsequently define y such that f() works.
Would it be better if an error (or at least a warning) is generated at the time of function definition rather than at the time of function execution? anonymous function, undefined parameter MATLAB Answers — New Questions
Make MATLAB output in strict ASCII
MATLAB console output used high-ASCII sometimes, e.g. for its prompt ( » ). In R2025A it may output UTF8, e.g., for zpk() output:
z =
0×1 empty double column vector
p =
9.900494692205900e-01
k =
9.950657811787363e-03
This ‘feature’ is a nuisance when interchanging text with other programs. Is there a built-in function to convert these occasional UTF non-ASCII characters to a reasonable approximation in standard ASCII? ( like ‘x’ or ‘>>’) ?
Or is this behavior to be considered a bug that will be fixed (there appear to be quite a few nuisance bugs in R2025a).
-marcelMATLAB console output used high-ASCII sometimes, e.g. for its prompt ( » ). In R2025A it may output UTF8, e.g., for zpk() output:
z =
0×1 empty double column vector
p =
9.900494692205900e-01
k =
9.950657811787363e-03
This ‘feature’ is a nuisance when interchanging text with other programs. Is there a built-in function to convert these occasional UTF non-ASCII characters to a reasonable approximation in standard ASCII? ( like ‘x’ or ‘>>’) ?
Or is this behavior to be considered a bug that will be fixed (there appear to be quite a few nuisance bugs in R2025a).
-marcel MATLAB console output used high-ASCII sometimes, e.g. for its prompt ( » ). In R2025A it may output UTF8, e.g., for zpk() output:
z =
0×1 empty double column vector
p =
9.900494692205900e-01
k =
9.950657811787363e-03
This ‘feature’ is a nuisance when interchanging text with other programs. Is there a built-in function to convert these occasional UTF non-ASCII characters to a reasonable approximation in standard ASCII? ( like ‘x’ or ‘>>’) ?
Or is this behavior to be considered a bug that will be fixed (there appear to be quite a few nuisance bugs in R2025a).
-marcel ascii, ut8, approximated text conversion MATLAB Answers — New Questions
how to create column vector by inputs with matlab app designer to have final vector throught inputs
i want get a column vector or row using app designer to use it in its final form not one by one throught user inputs which are changed.
thanks for helpi want get a column vector or row using app designer to use it in its final form not one by one throught user inputs which are changed.
thanks for help i want get a column vector or row using app designer to use it in its final form not one by one throught user inputs which are changed.
thanks for help refractive index n, app designer MATLAB Answers — New Questions
Please help me. I want to run this attached simple code
%Error using ^
%Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers,
%use ‘.^’.
%Error in proj/projfun (line 42)
% dy(2) = (4*b1*m^2+4*m^2*(b2-lamda).*p+4*b3*m^2*(p).^2+4*b4*m^2*(p).^3+4*b5*m^2.*p^4+a*(2*m+1)*(dp).^2)/(-2*a*m(2*m+1)*p);
%
%code%
function sol= proj
clc;clf;clear;
myLegend1 = {};myLegend2 = {};
rr = [1 2 4]
for i =1:numel(rr)
b1 = rr(i)
b2=0.5;b3=0.5;b4=0.5;
lamda=0.5;
y0 = [1,0,1,0,0,1,0,1];options =bvpset(‘stats’,’on’,’RelTol’,1e-5);
m = linspace(-20,20);
solinit = bvpinit(m,y0);
sol= bvp4c(@projfun,@projbc,solinit,options);
figure(1)
plot(sol.x,(sol.y(1,:))^0.5)
% axis([0 4 0 1])
grid on,hold on
myLegend1{i}=[‘n= ‘,num2str(rr(i))];
figure(2)
plot(sol.x,(sol.y(2,:)))
%axis([0 4 -0.8 0])
grid on,hold on
myLegend2{i}=[‘n = ‘,num2str(rr(i))];
i=i+1;
end
figure(1)
legend(myLegend1)
hold on
figure(2)
legend(myLegend2)
function dy= projfun(~,y)
dy= zeros(8,1);
% alignComments
p = y(1);
dp = y(2);
dy(1) = dp;
dy(2) = (4*b1*m^2+4*m^2*(b2-lamda).*p+4*b3*m^2*(p).^2+4*b4*m^2*(p).^3+4*b5*m^2.*p^4+a*(2*m+1)*(dp).^2)/(-2*a*m(2*m+1)*p);
end
end
function res= projbc(ya,yb)
res= [ya(1);
ya(2);
yb(1);
yb(2);
% yb(7);
];
end%Error using ^
%Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers,
%use ‘.^’.
%Error in proj/projfun (line 42)
% dy(2) = (4*b1*m^2+4*m^2*(b2-lamda).*p+4*b3*m^2*(p).^2+4*b4*m^2*(p).^3+4*b5*m^2.*p^4+a*(2*m+1)*(dp).^2)/(-2*a*m(2*m+1)*p);
%
%code%
function sol= proj
clc;clf;clear;
myLegend1 = {};myLegend2 = {};
rr = [1 2 4]
for i =1:numel(rr)
b1 = rr(i)
b2=0.5;b3=0.5;b4=0.5;
lamda=0.5;
y0 = [1,0,1,0,0,1,0,1];options =bvpset(‘stats’,’on’,’RelTol’,1e-5);
m = linspace(-20,20);
solinit = bvpinit(m,y0);
sol= bvp4c(@projfun,@projbc,solinit,options);
figure(1)
plot(sol.x,(sol.y(1,:))^0.5)
% axis([0 4 0 1])
grid on,hold on
myLegend1{i}=[‘n= ‘,num2str(rr(i))];
figure(2)
plot(sol.x,(sol.y(2,:)))
%axis([0 4 -0.8 0])
grid on,hold on
myLegend2{i}=[‘n = ‘,num2str(rr(i))];
i=i+1;
end
figure(1)
legend(myLegend1)
hold on
figure(2)
legend(myLegend2)
function dy= projfun(~,y)
dy= zeros(8,1);
% alignComments
p = y(1);
dp = y(2);
dy(1) = dp;
dy(2) = (4*b1*m^2+4*m^2*(b2-lamda).*p+4*b3*m^2*(p).^2+4*b4*m^2*(p).^3+4*b5*m^2.*p^4+a*(2*m+1)*(dp).^2)/(-2*a*m(2*m+1)*p);
end
end
function res= projbc(ya,yb)
res= [ya(1);
ya(2);
yb(1);
yb(2);
% yb(7);
];
end %Error using ^
%Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers,
%use ‘.^’.
%Error in proj/projfun (line 42)
% dy(2) = (4*b1*m^2+4*m^2*(b2-lamda).*p+4*b3*m^2*(p).^2+4*b4*m^2*(p).^3+4*b5*m^2.*p^4+a*(2*m+1)*(dp).^2)/(-2*a*m(2*m+1)*p);
%
%code%
function sol= proj
clc;clf;clear;
myLegend1 = {};myLegend2 = {};
rr = [1 2 4]
for i =1:numel(rr)
b1 = rr(i)
b2=0.5;b3=0.5;b4=0.5;
lamda=0.5;
y0 = [1,0,1,0,0,1,0,1];options =bvpset(‘stats’,’on’,’RelTol’,1e-5);
m = linspace(-20,20);
solinit = bvpinit(m,y0);
sol= bvp4c(@projfun,@projbc,solinit,options);
figure(1)
plot(sol.x,(sol.y(1,:))^0.5)
% axis([0 4 0 1])
grid on,hold on
myLegend1{i}=[‘n= ‘,num2str(rr(i))];
figure(2)
plot(sol.x,(sol.y(2,:)))
%axis([0 4 -0.8 0])
grid on,hold on
myLegend2{i}=[‘n = ‘,num2str(rr(i))];
i=i+1;
end
figure(1)
legend(myLegend1)
hold on
figure(2)
legend(myLegend2)
function dy= projfun(~,y)
dy= zeros(8,1);
% alignComments
p = y(1);
dp = y(2);
dy(1) = dp;
dy(2) = (4*b1*m^2+4*m^2*(b2-lamda).*p+4*b3*m^2*(p).^2+4*b4*m^2*(p).^3+4*b5*m^2.*p^4+a*(2*m+1)*(dp).^2)/(-2*a*m(2*m+1)*p);
end
end
function res= projbc(ya,yb)
res= [ya(1);
ya(2);
yb(1);
yb(2);
% yb(7);
];
end pvp4c, ode MATLAB Answers — New Questions
The below code takes much time to just compute till N=5. But I wanna know how to do it for N=100 or more a bit faster.
syms z;
N = 5; % Compute up to g_5′
alpha = -1; % α_n = -1 for all n
C = sym(‘C’, [1, N]); % Integration constants C0..CN
% Initialize
g_prime = cell(1, N+1);
g = cell(1, N+1);
g_prime{1} = z^2; % g_0′(z)
g{1} = z^3/3 % g_0(z)
% Iterate
for n = 1:N
% Step 1: Compute g_n'(z) = [ (g_{n-1} + C_{n-1})^2 / g_{n-1}’ ]^{α}
numerator = (g{n} + C(n))^2;
denominator = g_prime{n};
g_prime{n+1} = (numerator / denominator); % α = -1 ⇒ flip fraction
% Step 2: Simplify CRITICALLY here to prevent blowup
g_prime{n+1} = simplify(g_prime{n+1});
% Step 3: Compute g_{n}(z) for next step (if not last iteration)
if n < N
g{n+1} = int(g_prime{n+1}, z) + C(n+1);
g{n+1} = simplify(g{n+1}); % Simplify after integration
end
end
% Display fully simplified results
for k = 1:N
fprintf(‘g_%d”(z) = ‘, k);
disp(g_prime{k+1});
endsyms z;
N = 5; % Compute up to g_5′
alpha = -1; % α_n = -1 for all n
C = sym(‘C’, [1, N]); % Integration constants C0..CN
% Initialize
g_prime = cell(1, N+1);
g = cell(1, N+1);
g_prime{1} = z^2; % g_0′(z)
g{1} = z^3/3 % g_0(z)
% Iterate
for n = 1:N
% Step 1: Compute g_n'(z) = [ (g_{n-1} + C_{n-1})^2 / g_{n-1}’ ]^{α}
numerator = (g{n} + C(n))^2;
denominator = g_prime{n};
g_prime{n+1} = (numerator / denominator); % α = -1 ⇒ flip fraction
% Step 2: Simplify CRITICALLY here to prevent blowup
g_prime{n+1} = simplify(g_prime{n+1});
% Step 3: Compute g_{n}(z) for next step (if not last iteration)
if n < N
g{n+1} = int(g_prime{n+1}, z) + C(n+1);
g{n+1} = simplify(g{n+1}); % Simplify after integration
end
end
% Display fully simplified results
for k = 1:N
fprintf(‘g_%d”(z) = ‘, k);
disp(g_prime{k+1});
end syms z;
N = 5; % Compute up to g_5′
alpha = -1; % α_n = -1 for all n
C = sym(‘C’, [1, N]); % Integration constants C0..CN
% Initialize
g_prime = cell(1, N+1);
g = cell(1, N+1);
g_prime{1} = z^2; % g_0′(z)
g{1} = z^3/3 % g_0(z)
% Iterate
for n = 1:N
% Step 1: Compute g_n'(z) = [ (g_{n-1} + C_{n-1})^2 / g_{n-1}’ ]^{α}
numerator = (g{n} + C(n))^2;
denominator = g_prime{n};
g_prime{n+1} = (numerator / denominator); % α = -1 ⇒ flip fraction
% Step 2: Simplify CRITICALLY here to prevent blowup
g_prime{n+1} = simplify(g_prime{n+1});
% Step 3: Compute g_{n}(z) for next step (if not last iteration)
if n < N
g{n+1} = int(g_prime{n+1}, z) + C(n+1);
g{n+1} = simplify(g{n+1}); % Simplify after integration
end
end
% Display fully simplified results
for k = 1:N
fprintf(‘g_%d”(z) = ‘, k);
disp(g_prime{k+1});
end symbolic integration MATLAB Answers — New Questions
Fedora 42 – Unable to launch MVM server: License Error: Licensing shutdown
I installed Matlab 2025a on Fedora 42 (which is not in the official list of supported OSes but still, RHEL is) but when opening Matlab and logging in, it crashes with the error:
Unable to communicate with required MathWorks services (error 5201).
For help with this issue, contact support:
https://www.mathworks.com/support/contact_us.html
Unable to launch MVM server: License Error: Licensing shutdown
Matlab support cut me off with "Fedora isn’t supported", so we are not helping.
Are there any solutions? How do I lauch the MVM server?
ThanksI installed Matlab 2025a on Fedora 42 (which is not in the official list of supported OSes but still, RHEL is) but when opening Matlab and logging in, it crashes with the error:
Unable to communicate with required MathWorks services (error 5201).
For help with this issue, contact support:
https://www.mathworks.com/support/contact_us.html
Unable to launch MVM server: License Error: Licensing shutdown
Matlab support cut me off with "Fedora isn’t supported", so we are not helping.
Are there any solutions? How do I lauch the MVM server?
Thanks I installed Matlab 2025a on Fedora 42 (which is not in the official list of supported OSes but still, RHEL is) but when opening Matlab and logging in, it crashes with the error:
Unable to communicate with required MathWorks services (error 5201).
For help with this issue, contact support:
https://www.mathworks.com/support/contact_us.html
Unable to launch MVM server: License Error: Licensing shutdown
Matlab support cut me off with "Fedora isn’t supported", so we are not helping.
Are there any solutions? How do I lauch the MVM server?
Thanks fedora, linux, matlab, 2025a MATLAB Answers — New Questions
Populating the Simulink BLDC block for behavioral simulation of the motor
Hello MathWorks community,
I am building a control system simulation model for a BLDC motor used in an electric vehicle.
However, I cannot find some data to enter in the fields:
Maximum permanent magnet flux linkage
Rotor angle range over which the permanent magnet flux linking the stator winding is constant
possibly use:
Maximum rotor-induced back EMF
In addition, I should also characterize the motor from a thermal aspect, so that I can make assessments on the type of cooling to be used and the working conditions under which it might operate: how could I “theoretically” derive the values to be entered in the fields:
1) Temperature Dependence
2) Thermal Port
Thank you in advance.Hello MathWorks community,
I am building a control system simulation model for a BLDC motor used in an electric vehicle.
However, I cannot find some data to enter in the fields:
Maximum permanent magnet flux linkage
Rotor angle range over which the permanent magnet flux linking the stator winding is constant
possibly use:
Maximum rotor-induced back EMF
In addition, I should also characterize the motor from a thermal aspect, so that I can make assessments on the type of cooling to be used and the working conditions under which it might operate: how could I “theoretically” derive the values to be entered in the fields:
1) Temperature Dependence
2) Thermal Port
Thank you in advance. Hello MathWorks community,
I am building a control system simulation model for a BLDC motor used in an electric vehicle.
However, I cannot find some data to enter in the fields:
Maximum permanent magnet flux linkage
Rotor angle range over which the permanent magnet flux linking the stator winding is constant
possibly use:
Maximum rotor-induced back EMF
In addition, I should also characterize the motor from a thermal aspect, so that I can make assessments on the type of cooling to be used and the working conditions under which it might operate: how could I “theoretically” derive the values to be entered in the fields:
1) Temperature Dependence
2) Thermal Port
Thank you in advance. simulink, simscape, electric_motor_control, matlab MATLAB Answers — New Questions