Category: News
Version 1.5 of the Microsoft 365 User Password and Authentication Report
Microsoft Adds Last Used Property for Authentication Methods
The Microsoft 365 User Password and Authentication report is one of the scripts that I pay attention to and attempt to keep up to date as new developments emerge. The last version (V1.4) dealt with a change in how the default MFA method is reported; the version before added details of the authentication methods configured for user accounts.
Now it’s time to go back to refresh the script again because Microsoft has refreshed the beta version of the list authentication methods API to add a last used date time property. Entra ID updates the property when the authentication method (SMS code, passkey, Microsoft authenticator app, and so on) is used to authenticate an account. Looking at the dates in my tenant, I see last used dates going back to January 2023. There might be earlier dates than this noted for some authentication methods, but the point is that this information is now available.
The Value of the Last Used Property
The value of the last used property is that if you know what authentication methods are in active use, you might be able to remove unused authentication methods from user accounts to reduce the available attack surface for those accounts.
In any case, knowing when authentication methods are in active use for accounts is good information to have, especially if you want to encourage (“nag”) people to move away from weak secondary authentication methods like SMS and use something stronger, like the authenticator app or passkeys.
Updating the Script to V1.5
In any case, it was time to break out Visual Studio Code to update the Microsoft 365 User Password and Authentication script. The code uses the Get-MgUserAuthenticationMethod cmdlet to fetch authentication methods for an account. Each method has an identifier, and the more interesting information is found in the additionalProperties property (array). You’ll need at least the UserAuthMethod-MicrosoftAuthApp.Read.All Graph permission to access this information:
[array]$AuthMethods = Get-MgUserAuthenticationMethod -UserId $User.Id -ErrorAction Stop $AuthMethods Id -- 28c10230-6103-485e-b985-444c60001490 3ddfcfc8-9383-446f-83cc-3ab9be4be18f 338e704e-bb5c-4b0d-9c2e-458e630e4017
Microsoft updated the Microsoft Graph PowerShell SDK to V2.32 earlier this month. So far, the release has proven stable, and I haven’t run into new problems. It includes the Get-MgBetaUserAuthenticationMethod cmdlet, which returns the last used property:
[array]$AuthMethods = Get-MgBetaUserAuthenticationMethod -UserId $User.Id -ErrorAction Stop $AuthMethods Id CreatedDateTime LastUsedDateTime -- --------------- ---------------- 28c10230-6103-485e-b985-444c60001490 30/05/2020 07:48:05 3ddfcfc8-9383-446f-83cc-3ab9be4be18f 338e704e-bb5c-4b0d-9c2e-458e630e4017 04/08/2025 06:27:29
Not all authentication methods update the created date and last used date properties, but enough do to make the properties worthwhile.
The interesting thing here is that the cmdlet now surfaces the created date time as a property instead of an item in the additionalProperties array. This change is likely due to an update to the underlying Graph API metadata, and it could result in some scripts breaking if, as expected, the change makes it through to production. I certainly had to make some code changes to accommodate the change in how the created date is exposed. Figure 1 shows some example output where the last used date is reported for two authentication methods.

It would be nice if the data provided for every authentication method was consistent, but it’s not. It’s just another challenge to solve when working with Graph data.
New Version Available from GitHub
The updated (V1.5) version of the script can be downloaded from the Office 365 for IT Pros GitHub repository. I make no claim of greatness for the code. It’s there for people to learn about how to access and use the Graph to interact with authentication methods. No doubt this will interest some and not others. Feel free to upgrade and enhance the code to meet your requirements.
Learn about managing Entra ID and the rest of the Microsoft 365 ecosystem 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.
Beware of double agents: How AI can fortify — or fracture — your cybersecurity
AI is rapidly becoming the backbone of our world, promising unprecedented productivity and innovation. But as organizations deploy AI agents to unlock new opportunities and drive growth, they also face a new breed of cybersecurity threats.
There are a lot of Star Trek fans here at Microsoft, including me. One of our engineering leaders gifted me a life-size cardboard standee of Data that lurks next to my office door. So, as I look at that cutout, I think about the Great AI Security Dilemma: Is AI going to be our best friend or our worst nightmare? Drawing inspiration from the duality of the android officer Data, and his evil twin Lore in the Star Trek universe, today’s AI agents can either fortify your cybersecurity defenses — or, if mismanaged — fracture them.
The influx of agents is real. IDC research[1] predicts there will be 1.3 billion agents in circulation by 2028. When we think about our agentic future in AI, the duality of Data and Lore seems like a great way to think about what we’ll face with AI agents and how to avoid double agents that upend control and trust. Leaders should consider three principles and tailor them to fit the specific needs of their organizations.
1. Recognize the new attack landscape
Security is not just an IT issue — it’s a board-level priority. Unlike traditional software, AI agents are even more dynamic, adaptive and likely to operate autonomously. This creates unique risks.
We must accept that AI can be abused in ways beyond what we’ve experienced with traditional software. We employ AI agents to perform well-meaning tasks, but those with broad privileges can be manipulated by bad actors to misuse their access, such as leaking sensitive data via automated actions. We call this the “Confused Deputy” problem. AI Agents “think” in terms of natural language where instructions and data are tightly intertwined, much more than in typical software we interact with. The generative models agents depend on dynamically analyze the entire soup of human (or even non-human) languages, making it hard to distinguish well-known safe operations from new instructions introduced through malicious manipulation. The risk grows even more when shadow agents — unapproved or orphaned — enter the picture. And as we saw in Bring Your Own Device (BYOD) and other tech waves, anything you cannot inventory and account for magnifies blind spots and drives risk ever upward.
2. Practice Agentic Zero Trust
AI agents may be new as productivity drivers, but they can still be managed effectively using established security principles. I’ve had great conversations about this here at Microsoft with leaders like Mustafa Suleyman, cofounder of DeepMind and now Executive Vice President and CEO of Microsoft AI. Mustafa frequently shares a way to think about this, which he outlined in his book The Coming Wave, in terms of Containment and Alignment.
Containment simply means we do not blindly trust our AI Agents, and we significantly box every aspect of what they do. For example, we cannot let any agent’s access privileges exceed its role and purpose — it’s the same security approach we take to employee accounts, software and devices, what we refer to as “least privilege.” Similarly, we contain by never implicitly trusting what an agent does or how it communicates — everything must be monitored — and when this isn’t possible, agents simply are not permitted to operate in our environment.
Alignment is all about infusing positive control of an AI agent’s intended purpose, through its prompts and the models it uses. We must only use AI agents trained to resist attempts at corruption, with standard and mission-specific safety protections built into both the model itself and the prompts used to invoke the model. AI agents must resist attempts to divert them from their approved uses. They must execute in a Containment environment that watches closely for deviation from their intended purpose. All this requires strong AI agent identity and clear accountable ownership within the organization. As part of AI governance, every agent must have an identity, and we must know who in the organization is accountable for its aligned behavior.
Containment (least privilege) and Alignment will sound familiar to enterprise security teams, because they align with some of the basic principles of Zero Trust. Agentic Zero Trust includes “assuming breach,” or never implicitly trusting anything, making humans, devices and agents verify who they are explicitly before they gain access and limiting their access to only what’s needed to perform a task. While Agentic Zero Trust ultimately includes deeper security capabilities, discussing Containment and Alignment is a good shorthand in security-in-AI strategy conversations with senior stakeholders to keep everyone grounded in managing the new risk. Agents will keep joining and adapting at work — some may become double agents. With proper controls, we can protect ourselves.
3. Foster a culture of secure innovation
Technology alone won’t solve AI security. Culture is the real superpower in managing cyber risk — and leaders have the unique ability to shape it. Start with open dialogue: make AI risks and responsible use part of everyday conversations. Keep it cross-functional: legal, compliance, HR and others should have a seat at the table. Invest in continuous education: train teams on AI security fundamentals and clarify policies to cut through noise. Finally, embrace safe experimentation: give people approved spaces to learn and innovate without creating risk.
Organizations that thrive will treat AI as a teammate, not a threat — building trust through communication, learning and continuous improvement.
The path forward: What every company should do
AI isn’t just another chapter — it’s a plot twist that changes everything. The opportunities are huge, but so are the risks. The rise of AI requires ambient security, which executives create by making cybersecurity a daily priority. This means blending robust technical measures with ongoing education and clear leadership so that security awareness influences every choice made. Organizations maintain ambient security when they:
- Make AI security a strategic priority.
- Insist on Containment and Alignment for every agent.
- Mandate identity, ownership and data governance.
- Build a culture that champions secure innovation.
And it will be important to take a set of practical steps:
- Assign every AI agent an ID and owner — just like employees need badges. This ensures traceability and control.
- Document each agent’s intent and scope.
- Monitor actions, inputs and outputs. Map data flows early to set compliance benchmarks.
- Keep agents in secure, sanctioned environments — no rogue “agent factories.”
The call to action for every business is: Review your AI governance framework now. Demand clarity, accountability and continuous improvement. The future of cybersecurity is human plus machine — lead with purpose and make AI your strongest ally.
At Microsoft, we know we have a huge role to play in empowering our customers in this new era. In May, we introduced Microsoft Entra Agent ID as a way to help customers place unique identities to agents from the moment they are created in Microsoft Copilot Studio and Azure AI Foundry. We leverage AI in Defender and Security Copilot, combined with the massive security signals we collect, to expose and defeat phishing campaigns and other attacks that cybercriminals may use as entry points to compromise AI agents. We’ve also been committed to a platform approach with AI agents, to help customers safely use both Microsoft and third-party agents on their journey, avoiding complexity and risk that come from needing to juggle excessive dashboards and management consoles.
I’m excited by several other innovations we will be sharing at Microsoft Ignite later this month, alongside customers and partners.
We may not be conversing with Data on the bridge of the USS Enterprise quite yet, but as a technologist, it’s never been more exciting than watching this stage of AI’s trajectory in our workplaces and lives. As leaders, understanding the core opportunities and risks helps create a safer world for humans and agents working together.
Notes
[1] IDC Info Snapshot, sponsored by Microsoft, 1.3 Billion AI Agents by 2028, May 2025 #US53361825
The post Beware of double agents: How AI can fortify — or fracture — your cybersecurity appeared first on The Official Microsoft Blog.
AI is rapidly becoming the backbone of our world, promising unprecedented productivity and innovation. But as organizations deploy AI agents to unlock new opportunities and drive growth, they also face a new breed of cybersecurity threats. There are a lot of Star Trek fans here at Microsoft, including me. One of our engineering leaders gifted…
The post Beware of double agents: How AI can fortify — or fracture — your cybersecurity appeared first on The Official Microsoft Blog.Read More
TDMS. data file conversion to csv. file
Hello Matlab users,
Can anyone please help me to convert my multiple tdms file in csv format?
Thank you in advanceHello Matlab users,
Can anyone please help me to convert my multiple tdms file in csv format?
Thank you in advance Hello Matlab users,
Can anyone please help me to convert my multiple tdms file in csv format?
Thank you in advance tdms, csv, signal, conversion, mathematics MATLAB Answers — New Questions
HDL Coder Error when converting AXI4 interface with different data rates
I’m having trouble understanding this error from HDL coder:
Failed All the DUT ports connecting to the "f2h_sdram0 Read" interface must be running at the fastest rate in the generated DUT HDL code. Port "data_in" uses sample rate of 5e-06, the fastest rate in the DUT HDL code is 2e-07.
Error using hdlturnkey.data.Channel/validateCodeGenPortRate
All the DUT ports connecting to the "f2h_sdram0 Read" interface must be running at the fastest rate in the generated DUT HDL code. Port
"data_in" uses sample rate of 5e-06, the fastest rate in the DUT HDL code is 2e-07.
I want to read from a particular address in memory every 5 us. I don’t want to read every 2e-7 seconds and flood the bus with uneeded read requests. I tried checking the timing legend and nothing even seems to be running at 2e-07 so i’m not sure where it is getting that rate from in the first place.
Am i approaching the sampling logic for this incorrectly? Instead of controlling when it performs a read by changing the execution time of the read-slave-to-master interface and Data signals, should i let the execution time be set to -1 (inherited) and control the read time by changing the rd_dvalid signal using temporal logic in my stateflow chart? Thanks for any help.I’m having trouble understanding this error from HDL coder:
Failed All the DUT ports connecting to the "f2h_sdram0 Read" interface must be running at the fastest rate in the generated DUT HDL code. Port "data_in" uses sample rate of 5e-06, the fastest rate in the DUT HDL code is 2e-07.
Error using hdlturnkey.data.Channel/validateCodeGenPortRate
All the DUT ports connecting to the "f2h_sdram0 Read" interface must be running at the fastest rate in the generated DUT HDL code. Port
"data_in" uses sample rate of 5e-06, the fastest rate in the DUT HDL code is 2e-07.
I want to read from a particular address in memory every 5 us. I don’t want to read every 2e-7 seconds and flood the bus with uneeded read requests. I tried checking the timing legend and nothing even seems to be running at 2e-07 so i’m not sure where it is getting that rate from in the first place.
Am i approaching the sampling logic for this incorrectly? Instead of controlling when it performs a read by changing the execution time of the read-slave-to-master interface and Data signals, should i let the execution time be set to -1 (inherited) and control the read time by changing the rd_dvalid signal using temporal logic in my stateflow chart? Thanks for any help. I’m having trouble understanding this error from HDL coder:
Failed All the DUT ports connecting to the "f2h_sdram0 Read" interface must be running at the fastest rate in the generated DUT HDL code. Port "data_in" uses sample rate of 5e-06, the fastest rate in the DUT HDL code is 2e-07.
Error using hdlturnkey.data.Channel/validateCodeGenPortRate
All the DUT ports connecting to the "f2h_sdram0 Read" interface must be running at the fastest rate in the generated DUT HDL code. Port
"data_in" uses sample rate of 5e-06, the fastest rate in the DUT HDL code is 2e-07.
I want to read from a particular address in memory every 5 us. I don’t want to read every 2e-7 seconds and flood the bus with uneeded read requests. I tried checking the timing legend and nothing even seems to be running at 2e-07 so i’m not sure where it is getting that rate from in the first place.
Am i approaching the sampling logic for this incorrectly? Instead of controlling when it performs a read by changing the execution time of the read-slave-to-master interface and Data signals, should i let the execution time be set to -1 (inherited) and control the read time by changing the rd_dvalid signal using temporal logic in my stateflow chart? Thanks for any help. hdl coder MATLAB Answers — New Questions
Impossible to install the latest version of Matlab Connector on a Linux computer
I have installed the latest version of 2025b on a Linux system with Ubuntu 24.04.2 LTS.
It is not possible to install the Matlab connector (2025.11.0.2). The process is terminated and the following error is thrown:
Gtk-Message: 11:08:08.425: Failed to load module "gail"
Gtk-Message: 11:08:08.425: Failed to load module "atk-bridge"
I have never had any issues with the Connector whatsoever in the past. Following suggestions from the helpdesk, I did several things already: installing from a different folder, bypassing the firewall, disabling the router, install but not as superuser, fresh Matlab install, etc. It seems the installer completes extraction but fails to start services.
I am very much dependent on the Connector and it is very frustrating that 2025b & Connector do not work out-of-the-box. Furthermore, the process of troubleshooting has become beyond my expertise. What steps can I take to make it work? Is there a way to generate a log or something that can be used to understand the issue?I have installed the latest version of 2025b on a Linux system with Ubuntu 24.04.2 LTS.
It is not possible to install the Matlab connector (2025.11.0.2). The process is terminated and the following error is thrown:
Gtk-Message: 11:08:08.425: Failed to load module "gail"
Gtk-Message: 11:08:08.425: Failed to load module "atk-bridge"
I have never had any issues with the Connector whatsoever in the past. Following suggestions from the helpdesk, I did several things already: installing from a different folder, bypassing the firewall, disabling the router, install but not as superuser, fresh Matlab install, etc. It seems the installer completes extraction but fails to start services.
I am very much dependent on the Connector and it is very frustrating that 2025b & Connector do not work out-of-the-box. Furthermore, the process of troubleshooting has become beyond my expertise. What steps can I take to make it work? Is there a way to generate a log or something that can be used to understand the issue? I have installed the latest version of 2025b on a Linux system with Ubuntu 24.04.2 LTS.
It is not possible to install the Matlab connector (2025.11.0.2). The process is terminated and the following error is thrown:
Gtk-Message: 11:08:08.425: Failed to load module "gail"
Gtk-Message: 11:08:08.425: Failed to load module "atk-bridge"
I have never had any issues with the Connector whatsoever in the past. Following suggestions from the helpdesk, I did several things already: installing from a different folder, bypassing the firewall, disabling the router, install but not as superuser, fresh Matlab install, etc. It seems the installer completes extraction but fails to start services.
I am very much dependent on the Connector and it is very frustrating that 2025b & Connector do not work out-of-the-box. Furthermore, the process of troubleshooting has become beyond my expertise. What steps can I take to make it work? Is there a way to generate a log or something that can be used to understand the issue? matlab connector MATLAB Answers — New Questions
Simulink model freezes at 8% during compilation showing “updating library links blocks: started” in MATLAB 2024a
I am using MATLAB R2024a on Windows, and I am experiencing a consistent issue with one specific Simulink model. During simulation or code generation, the process freezes at 8% during compilation, showing the message “Updating library links blocks: started” in the lower left corner of the window. It remains stuck indefinitely at that stage.
Even if I try to cancel the build, MATLAB becomes unresponsive and eventually crashes, requiring a full restart. This happens almost every day, usually when reopening or restarting the model.
As a temporary workaround, I have been deleting the slprj folder and the .autosave file, and then running the command clear classes. After that, the model compiles normally again — but the issue reappears later.
This model uses several toolboxes, including:
Aerospace Blockset
Aerospace Toolbox
UAV Toolbox
Simulink, Simulink Coder, MATLAB core toolboxes.
The model does not use model references or custom libraries.
Has anyone experienced a similar freeze during “updating library links blocks”? Is there a more permanent fix or diagnostic step to prevent this issue?I am using MATLAB R2024a on Windows, and I am experiencing a consistent issue with one specific Simulink model. During simulation or code generation, the process freezes at 8% during compilation, showing the message “Updating library links blocks: started” in the lower left corner of the window. It remains stuck indefinitely at that stage.
Even if I try to cancel the build, MATLAB becomes unresponsive and eventually crashes, requiring a full restart. This happens almost every day, usually when reopening or restarting the model.
As a temporary workaround, I have been deleting the slprj folder and the .autosave file, and then running the command clear classes. After that, the model compiles normally again — but the issue reappears later.
This model uses several toolboxes, including:
Aerospace Blockset
Aerospace Toolbox
UAV Toolbox
Simulink, Simulink Coder, MATLAB core toolboxes.
The model does not use model references or custom libraries.
Has anyone experienced a similar freeze during “updating library links blocks”? Is there a more permanent fix or diagnostic step to prevent this issue? I am using MATLAB R2024a on Windows, and I am experiencing a consistent issue with one specific Simulink model. During simulation or code generation, the process freezes at 8% during compilation, showing the message “Updating library links blocks: started” in the lower left corner of the window. It remains stuck indefinitely at that stage.
Even if I try to cancel the build, MATLAB becomes unresponsive and eventually crashes, requiring a full restart. This happens almost every day, usually when reopening or restarting the model.
As a temporary workaround, I have been deleting the slprj folder and the .autosave file, and then running the command clear classes. After that, the model compiles normally again — but the issue reappears later.
This model uses several toolboxes, including:
Aerospace Blockset
Aerospace Toolbox
UAV Toolbox
Simulink, Simulink Coder, MATLAB core toolboxes.
The model does not use model references or custom libraries.
Has anyone experienced a similar freeze during “updating library links blocks”? Is there a more permanent fix or diagnostic step to prevent this issue? simulink, compilation, freeze, library-links, matlab2024a MATLAB Answers — New Questions
How to color-code columns in MATLAB Clustergram?
I am trying to label specific columns in a MATLAB clustergram with particular colors to indicate similarities between columns but not necessarily within dendogram clusters (I already have the clustergram made, just trying to better explain my data). I am aware of the ColumnGroupMarker function, but I do not want them based on cluster – I’d like to be able to control whether columns in the same group have different colors, similar to this academic paper has the bars for liver/lung and metastatic/normal:I am trying to label specific columns in a MATLAB clustergram with particular colors to indicate similarities between columns but not necessarily within dendogram clusters (I already have the clustergram made, just trying to better explain my data). I am aware of the ColumnGroupMarker function, but I do not want them based on cluster – I’d like to be able to control whether columns in the same group have different colors, similar to this academic paper has the bars for liver/lung and metastatic/normal: I am trying to label specific columns in a MATLAB clustergram with particular colors to indicate similarities between columns but not necessarily within dendogram clusters (I already have the clustergram made, just trying to better explain my data). I am aware of the ColumnGroupMarker function, but I do not want them based on cluster – I’d like to be able to control whether columns in the same group have different colors, similar to this academic paper has the bars for liver/lung and metastatic/normal: clustergram, plot MATLAB Answers — New Questions
Microsoft 365 Companion Apps Fail to Impress
Why do Microsoft 365 Companion Apps Even Exist?
Announced in message center notification MC1160180 (updated 30 September 2025, Microsoft 365 roadmap item 486856), the Microsoft 365 companion apps are a collection of apps designed to live in the Windows toolbar and specialize in a single task. Currently, the suite spans the People, Files, and Calendar companions and starting in October 2025, Microsoft began to install the companion apps automatically on Windows 11 devices that already have the Microsoft 365 desktop client apps.
According to Microsoft, “these lightweight apps integrate seamlessly with Microsoft 365, allowing users to efficiently look up contacts and navigate organization charts, locate files, view calendars and streamline workflows without distractions.” This text seems like a desperate justification for recreating three wheels. Why these apps exist when there are perfectly good other Microsoft 365 apps to do the same job is beyond me. The companion apps complicate an already complex app landscape.
I like to stay current with Windows, so the companion apps showed up earlier this month. Since then, I have struggled to make sense of what they do. The first thing I don’t like about the companion apps is their detachment from the rest of Microsoft 365. Typically, I have Outlook (classic), Teams, the OneDrive sync client, and a bunch of browser apps running (SharePoint sites, admin centers, Planner, and so on). The Microsoft 365 apps share a perfectly good single-sign-on experience, but the companion apps do their own thing and insist on separate authentication. It’s a jarring start.
The Files Companion App
The Files app depends on OneDrive for Business and is able to list cloud files owned or shared by the signed-in user (sounds a lot like the OneDrive browser client). You can view and share files or open the location where a file is stored. The single party trick I found was relatively fast searching. In Figure 1, I searched for Exchange Online and the app responded with alacrity.

But the big question is whether the Files app does enough to warrant keeping it around. After all, Microsoft 365 users have SharePoint search or the OneDrive for Business app, or if they have Microsoft 365 Copilot, Microsoft 365 Copilot Search. The latter is the best way that I have found to search or information, especially when it’s linked via a Copilot connector to important external websites.
The People Companion App
The People app is a way of browsing your Outlook contacts and the Entra ID directory with details of a contact presented through the Microsoft 365 user profile card (Figure 2). Once again, I wonder why I should use a separate app instead of Outlook. Or OWA? Or the new Outlook?

The Calendar Companion App
The Calendar app doesn’t even rate a screen shot. It’s a calendar app without the ability to create a new event or meeting. Opening the Outlook calendar in a new window gives access to more information and more capabilities.
Suppressing the Companion Apps
It didn’t take long to decide that the companion apps were toolbar clutter that I could live without. Tenant administrators can stop Microsoft 365 installing the apps by updating the companion apps setting in the Modern Apps settings tab of Deployment configurations in the Microsoft 365 apps admin center. By default, the setting is checked. Unchecking it stops the installation on workstations (Figure 3).

If the companion apps have already reached PCs, some PowerShell can clean things up by blocking the startup state for the companion apps in the system registry to stop the apps showing up in the toolbar. This code checks the registry to find the startup state for each app (0 = enabled, 1 = disabled) and disables the state for the three apps.
# Disable the People, Files, and Calendar Microsoft 365 Companion Apps from starting automatically
$RegistryKey = "HKCU:SoftwareClassesLocal SettingsSoftwareMicrosoftWindowsCurrentVersionAppModelSystemAppDataMicrosoft.M365Companions_8wekyb3d8bbwe"
[array]$AppStartUpIds = @("$RegistryKeyCalendarStartupId","$RegistryKeyFilesStartupId","$RegistryKeyPeopleStartupId")
ForEach ($AppStartupId in $AppStartUpIds) {
Try {
If (Test-Path $AppStartupId) {
# Disable startup state for the app
Write-Host ("Disabling startup state for the {0} companion app" -f $AppStartupId.Split("StartupId")[0].Split("")[11]) -ForegroundColor Green
Set-ItemProperty -Path $AppStartupId -Name "State" -Value 1 -Type DWORD -ErrorAction Stop
} Else {
Write-Host ("Couldn't find path to disable startup for the {0} companion app" -f $AppStartupId.Split("StartupId")[0].Split("")[11]) -ForegroundColor Red
}
} Catch {
Write-Error ("Failed to set State for {0} : {1}" -f $AppStartupId, $_)
}
}
Write-Host "Completed suppressing the startup of the Calendar, Files, and People companion apps"
The apps are still present on the PC and can be started if the user wants to check them out.
Dump the Apps and Unclutter Your PC
I have no idea how long Microsoft will persist with the notion that these companion apps will improve the lives of Microsoft 365 users. The apps do nothing to keep me focused, streamlined, or any of the other fine words used as justification in MC1160180. But make your own mind up – and then dump the apps before Microsoft comes to their senses and cuts the apps in an effort to save engineering expenses.
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.
in my simulink,used for voltage stabilization which used dvr in flc,here the output have some issues the vload and vinj? so can u help me, vload would be proper sine wave?
Post Content Post Content optimization, matlab, simulink MATLAB Answers — New Questions
Orifice (TL) temperature-dependent parameterization
Hello together,
I would like to specify an oil filter in Simscape. At the moment, I use the TL-Library orifice component for this task. I have test data available to specify the volumetric flow rate depending on the fluid temperature and the pressure drop. Unfortunately, I can’t find any option to make the orifice behave temperature-dependent. There is only an option to parameterize the volumetric flow rate vs. the pressure drop. If I do so, the model behaves the same for each temperature.
Does anybody know how I could model this component in an accurate way?
Thank you!Hello together,
I would like to specify an oil filter in Simscape. At the moment, I use the TL-Library orifice component for this task. I have test data available to specify the volumetric flow rate depending on the fluid temperature and the pressure drop. Unfortunately, I can’t find any option to make the orifice behave temperature-dependent. There is only an option to parameterize the volumetric flow rate vs. the pressure drop. If I do so, the model behaves the same for each temperature.
Does anybody know how I could model this component in an accurate way?
Thank you! Hello together,
I would like to specify an oil filter in Simscape. At the moment, I use the TL-Library orifice component for this task. I have test data available to specify the volumetric flow rate depending on the fluid temperature and the pressure drop. Unfortunately, I can’t find any option to make the orifice behave temperature-dependent. There is only an option to parameterize the volumetric flow rate vs. the pressure drop. If I do so, the model behaves the same for each temperature.
Does anybody know how I could model this component in an accurate way?
Thank you! simscape, orifice, hydraulic, model MATLAB Answers — New Questions
Simulink Scope Screen Cursors Disabled
I have a Simulink file that refuses to show the measurement tools on the scope. Note how the the time/value boxes are greyed out. Also, the ‘show panel’ does not work. I have other Simulink files where this is working just fine. I tried to delete and insert the scope again, but that did not help. I can’t find this mentioned anywhere in Help or Support. I can run the Screen cursors in another Simulink file in the same session, so it is something in this configuration.I have a Simulink file that refuses to show the measurement tools on the scope. Note how the the time/value boxes are greyed out. Also, the ‘show panel’ does not work. I have other Simulink files where this is working just fine. I tried to delete and insert the scope again, but that did not help. I can’t find this mentioned anywhere in Help or Support. I can run the Screen cursors in another Simulink file in the same session, so it is something in this configuration. I have a Simulink file that refuses to show the measurement tools on the scope. Note how the the time/value boxes are greyed out. Also, the ‘show panel’ does not work. I have other Simulink files where this is working just fine. I tried to delete and insert the scope again, but that did not help. I can’t find this mentioned anywhere in Help or Support. I can run the Screen cursors in another Simulink file in the same session, so it is something in this configuration. simulink, screen cursors MATLAB Answers — New Questions
How can I acquire images from multiple GigE cameras using Image Acquisition Toolbox and Parallel Computing Toolbox?
I have two or more GigE Vision cameras and I want to acquire images/video from them by using Parallel Computing Toolbox with one worker per camera.
Is there some example code that shows this approach?I have two or more GigE Vision cameras and I want to acquire images/video from them by using Parallel Computing Toolbox with one worker per camera.
Is there some example code that shows this approach? I have two or more GigE Vision cameras and I want to acquire images/video from them by using Parallel Computing Toolbox with one worker per camera.
Is there some example code that shows this approach? MATLAB Answers — New Questions
Microsoft Won’t Dump Outlook for a New AI Client
New Management Wants to Reimagine Outlook but That Doesn’t Mean That the New Outlook Client is Dead

A Tom Warren report in TheVerge.com that Outlook is getting an AI overhaul under new leadership (reported here in an accessible form) certainly caused the imagination of some commentators to go into overdrive. Unfortunately, the conclusions reached are impractical and unlikely. Let me explain why.
The article reported that Gaurav Sareen, corporate VP of global experiences and platform at Microsoft wants the Outlook developers to reimagine how Outlook can serve users by using AI to process email in a much more proactive manner than happens today.
Essentially, Outlook should be like a hyper-efficient assistant that processes email to relieve mailbox owners of the need to review and decide how to handle messages. According to the internal memo seen by Warren, Sareen wants developers to take a new approach: “Instead of bolting AI onto legacy experiences, we have the chance to reimagine Outlook from the ground up.” More importantly, Sareen wants work to happen faster with teams “prototyping and testing in days, not months.”
Senior managers have a habit of laying out grand plans when they take over new responsibilities. That’s OK, because it’s important to have a vision for where a product or technology is heading, so no one can criticize Microsoft executives for setting out how they think development teams should react to the current state of the market and customer demand.
However, Outlook is in the middle of a transition to fulfil the “One Outlook” vision of clients that deliver the same functionality on Windows, Mac, browsers, and mobile clients. The transition from Outlook classic is ongoing, and while I have been critical of the rate of progress and the implementation of some features (like the very slow export to PST), there’s no doubt that Microsoft is making progress. The eventual goal is to be able to transition away from Outlook classic by the time support for the classic client finishes in 2029.
The need to deliver certainty to corporate customers means that it makes zero sense for commentators to conclude that Microsoft will now dump the new Outlook in favor of some AI-infused client that must be designed from the ground up to replace Outlook classic, OWA, Outlook mobile, and the new Outlook.
Microsoft’s Outlook Commitment to Microsoft 365 Customers
Microsoft has a commitment to Microsoft 365 customers to deliver a solid version of Outlook as part of the Microsoft 365 enterprise apps suite. Changing course now to incorporate new AI-powered functionality might sound exciting, but it ignores the simple fact that Microsoft 365 Copilot licenses are not possessed by many tenants, and without Copilot and access to AI-powered features, the vision outlined by Sareen cannot be achieved.
I don’t think Microsoft is willing to give away Copilot licenses just to enable AI features in Outlook. That move wouldn’t go down well with shareholders who look at the massive investments made to build out datacenter capabilities for AI without a clear line of sight about how these investments will deliver revenues.
Microsoft is coy about many Microsoft 365 Copilot licenses they’ve sold. No one knows how many Microsoft 365 Copilot licenses are in active use, but I’m willing to bet that the number of Copilot licensees is hundreds of millions removed from the number of Outlook users. The latest data from the Microsoft FY26 Q1 results indicate that Microsoft 365 has around 446 million paid seats. Let’s say that 400 million of these people use Outlook. That’s a lot of additional AI processing that might be required to deliver a new AI-infused Outlook client, which is why I think that any strategy based on dramatically increasing the amount of AI processing in Outlook will run into the cold brick wall of financial reality.
There’s also the need for Microsoft to deliver a client Exchange Server after Outlook classic retires. This client is unlikely to have as many AI-powered features because it’s much harder to deliver those features in on-premises environments than it is in the cloud.
Evolutionary AI Additions to Outlook
What I think will happen is that Microsoft will continue to press ahead with its One Outlook strategy to equip the new Outlook with equivalent functionality (and more) than is currently available in Outlook classic. It just makes sense for Microsoft to get Outlook to a common code base for multiple platforms.
At the same time, during the period up to 2029 when Microsoft’s committed support for Outlook classic ceases, Microsoft will implement important AI-powered features in Outlook classic to keep corporate customers happy.
At the same time, I believe that Sureen’s memo will force the Outlook development teams to respond with proposals to become more aggressive about bringing AI-powered features into Outlook based on the new Outlook framework. I don’t see any appetite for a third Outlook flavor over the next few years (Outlook classic, new Outlook, and Outlook AI++). That’s not how Microsoft works, especially in a space where they need to keep large corporate customers happy and don’t want to see support costs escalate due to client profusion.
Customer Support and Expectations Moderate Grand Plans
As noted above, new leaders invariably have new ideas about how to move products forward. Just because some of those ideas leak outside is no reason to conclude that Microsoft will suddenly switch course for a product used by hundreds of millions of people. The practical issues of customer expectations and long-term support are enough to moderate even the most radical of new leader ideas. I suspect that the same will happen here. Stay calm and take some happy pills.
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.
Typo in Bicycle Kinematics/Steering Angle Equation?
Hi everyone,
Is there a typo in the documentation of Mobile Robot Kinematics -> Bicycle Kinematics -> Steering Angle Equation? See
https://uk.mathworks.com/help/robotics/ug/mobile-robot-kinematics-equations.html
The current model reads
However, I think the correct model should be
Am I missing something?Hi everyone,
Is there a typo in the documentation of Mobile Robot Kinematics -> Bicycle Kinematics -> Steering Angle Equation? See
https://uk.mathworks.com/help/robotics/ug/mobile-robot-kinematics-equations.html
The current model reads
However, I think the correct model should be
Am I missing something? Hi everyone,
Is there a typo in the documentation of Mobile Robot Kinematics -> Bicycle Kinematics -> Steering Angle Equation? See
https://uk.mathworks.com/help/robotics/ug/mobile-robot-kinematics-equations.html
The current model reads
However, I think the correct model should be
Am I missing something? steering angle equation, bicycle kinematics MATLAB Answers — New Questions
How to modify the engine model to be like my real 3 cylinder car, I’m trying to model the electrical system of my car but the start current is not the same.
I have the model and im trying to modify it so the start current is the same as my real 3 cylinder 1l car, im an electric eng student but i dont really know much mechanics for it to me to know how to mimic my real car, i also need the starter not engage when volatge is low, but some how it still moves, or at least the rpms do, i need to iddle at the same rpm and i have been able to increse the iddle but its still lower than 1000 (tho that might be due to electrical loads like lights ans stuff).I have the model and im trying to modify it so the start current is the same as my real 3 cylinder 1l car, im an electric eng student but i dont really know much mechanics for it to me to know how to mimic my real car, i also need the starter not engage when volatge is low, but some how it still moves, or at least the rpms do, i need to iddle at the same rpm and i have been able to increse the iddle but its still lower than 1000 (tho that might be due to electrical loads like lights ans stuff). I have the model and im trying to modify it so the start current is the same as my real 3 cylinder 1l car, im an electric eng student but i dont really know much mechanics for it to me to know how to mimic my real car, i also need the starter not engage when volatge is low, but some how it still moves, or at least the rpms do, i need to iddle at the same rpm and i have been able to increse the iddle but its still lower than 1000 (tho that might be due to electrical loads like lights ans stuff). start current, start motor, start system control MATLAB Answers — New Questions
Why i am getting different outputs when i am using Transfer function block(1/s) instead of integrator block in this block diagram. (2026a version).
Why am I getting different outputs when I use Transfer Function block (1/s) instead of Integrator block in this block diagram (Simulink 2026a version)? initial condition or saturation are not used.Why am I getting different outputs when I use Transfer Function block (1/s) instead of Integrator block in this block diagram (Simulink 2026a version)? initial condition or saturation are not used. Why am I getting different outputs when I use Transfer Function block (1/s) instead of Integrator block in this block diagram (Simulink 2026a version)? initial condition or saturation are not used. transferred MATLAB Answers — New Questions
How do I plot a graph with the grid for trig functions with 0 ≤ x ≤ 2π
y1 = cos (x) … solid line, red, no marker
y2 = -sin (x) … dashed line, blue, no marker
y3 = cos (x)’ … no line, blue, circle
Cos(x)’ is the ferivative of cos(x)y1 = cos (x) … solid line, red, no marker
y2 = -sin (x) … dashed line, blue, no marker
y3 = cos (x)’ … no line, blue, circle
Cos(x)’ is the ferivative of cos(x) y1 = cos (x) … solid line, red, no marker
y2 = -sin (x) … dashed line, blue, no marker
y3 = cos (x)’ … no line, blue, circle
Cos(x)’ is the ferivative of cos(x) plotting, graph, functions MATLAB Answers — New Questions
Office 365 for IT Pros November 2025 Update
Monthly Update #125 Now Available for Download

The Office 365 for IT Pros team is happy to announce the availability of the November 2025 update for the Office 365 for IT Pros (2026 edition) eBook. This is the 125th monthly update. We’ve also published an update for the Automating Microsoft 365 with PowerShell eBook (now at version 17.3).
Subscribers can download the updated PDF and EPUB files from Gumroad.com. The link in the receipt you received always fetches the latest files. See our FAQ for more information about downloading updated, and our change log for details of what’s changed in update #125.
Hype, BS, and Misunderstandings
Some of the commentary that appears on the internet is in a state of outrageous ignorance. Two recent examples involving Teams come to mind. The first was the revelation that attackers could extract and reuse access tokens from the local state file that Teams uses to track cookies and other metadata. The security researcher was very excited by this finding but quite forgot that an attacker needed physical control over a workstation to carry out the exploit.
The second was the hubris around the upcoming change to add automatic location updates so that when people come into the office, Teams will update their location to “Office” instead of the user doing so manually. This was interpreted as an example of employee surveillance, an assessment that rapidly fell apart once anyone with an ounce of sense and some knowledge about how Teams works looked at what actually happens. The sad quality of the material some publish in the pursuit of web page views…
Microsoft’s FY26 Q1 Results
Microsoft published their FY26 Q1 results on October 29, 2025. The Microsoft Cloud is now at an annualized revenue run rate of $196.4 billion (at a 68% margin) and the number of Microsoft 365 commercial seats seems to be around 446 million based on a 6% year-over-year growth (slowing gradually). No number was provided for the Teams user base, so we’re still stuck at the 320 million stated in October 2023. However, we did hear that Entra ID now has one billion monthly active users.
Apart from those numbers, there wasn’t much to get excited about from a Microsoft 365 perspective. All the vibe at the market analysts meeting was about how happy Microsoft is with Copilot’s progress. In reinforcing this impression, Microsoft misses no opportunity to push out data snippets that seem impressive but are pretty worthless.
Satya Nadella said: “Just nine months since release, tens of millions of users across Microsoft 365 customer base are already using Chat.” That seems good, but he didn’t specify how many of these people have licenses and how many use the free Microsoft Copilot Chat. The statement that “first party family of Copilots now has surpassed 150 million monthly active users” is similarly light on detail. For instance, what constitutes an active Copilot user?
Nadella went on to say that “Adoption is accelerating rapidly, growing 50% quarter over quarter, and we continue to see usage intensity increase.” That 50% growth appears impressive, but is the growth for free Copilot or the $360/year version? And without a base to measure against, it’s hard to know if Copilot grew from 40 to 60 seats or are millions of seats involved. Finally, the assertion that “more than 90% of the Fortune 500 now use Microsoft 365 Copilot.” is another example of Microsoft’s undoubted skill at obfuscating market numbers because no one knows how many seats are involved and if the Fortune 500 are seriously implementing Copilot or just kicking the tires.
Microsoft cited three customer examples of customers buying over 15,000 seats, one customer deploying 30,000 seats, and PWC with 200,000 seats. That’s not a lot to justify the $34.9 billion of capital expenditures in the quarter “driven by growing demand for our cloud and AI offerings.” I guess that spending so much to beef up datacenters for AI doesn’t matter so much when Microsoft is throwing off $45 billion cash flow in a quarter.
I loved the assertion about “16 billion Copilot interactions audited by Purview.” Purview certainly captures audit events for Copilot interactions, but that’s not auditing. Unless you need some faux statistics, of course. And of course, a Copilot interaction usually generates at least two audit events (prompt and response), so the big number isn’t quite as impressive.
Knowing How Technology Works
What all of this proves is that reading news published on the internet and taking everything on face value creates a certain impression. Reading the same news and knowing how Microsoft 365 works means that you’re not going to be caught out and impressed by bogus news or over-hyped data. The mission of Office 365 for IT Pros is to spread knowledge based on hard experience and expertise. Now on to monthly update #126.
How can I properly extract the features of a ferning pattern using image processing?
Using feature extraction, what can I do to distinguish the ferning pattern in a positive fern test? Attached is a sample image from https://commons.wikimedia.org/wiki/File:Positive_Fern_Test_.jpg .Using feature extraction, what can I do to distinguish the ferning pattern in a positive fern test? Attached is a sample image from https://commons.wikimedia.org/wiki/File:Positive_Fern_Test_.jpg . Using feature extraction, what can I do to distinguish the ferning pattern in a positive fern test? Attached is a sample image from https://commons.wikimedia.org/wiki/File:Positive_Fern_Test_.jpg . image processing, feature extraction, deep learning, classification MATLAB Answers — New Questions
Iterative of Nonlinear Functions
Someone please help, whenever i run my code I keep getting the same errors. My code and a screenshoot of the error page is attached.
% Given Values
k = 120;
alpha = 3.91e-6;
Ti=1073.15;
Tw=288.15;
Ta=288.15;
hw=100;
ha=10;
dt=10;
n_steps=60;
l=0.1;
tau=0.00391;
T1=zeros(n_steps,1);
T1(1,1)=Ti;
T2=zeros(n_steps,1);
T2(1,1)=Ti;
T3=zeros(n_steps,1);
T3(1,1)=Ti;
T4=zeros(n_steps,1);
T4(1,1)=Ti;
T5=zeros(n_steps,1);
T5(1,1)=Ti;
T6=zeros(n_steps,1);
T6(1,1)=Ti;
T7=zeros(n_steps,1);
T7(1,1)=Ti;
T8=zeros(n_steps,1);
T8(1,1)=Ti;
T9=zeros(n_steps,1);
T9(1,1)=Ti;
T10=zeros(n_steps,1);
T10(1,1)=Ti;
T11=zeros(n_steps,1);
T11(1,1)=Ti;
T12=zeros(n_steps,1);
T12(1,1)=Ti;
T13=zeros(n_steps,1);
T13(1,1)=Ti;
T14=zeros(n_steps,1);
T14(1,1)=Ti;
T15=zeros(n_steps,1);
T15(1,1)=Ti;
for i=1:(n_steps-1)
syms t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15
eqn1 = l*k*(ha+hw)*(Ta-T1(i))+(T6-T1(i))+(T2(i)-T1(i))==(t1-T1(i))/tau;
eqn2 = ha*l*(Ta-T2(i)+((T7(i)-T2(i))+(T3(i)-T2(i))+(T1(i)-T2(i))))==(t2-T2(i))/tau;
eqn3 = ha*l/k*(Ta-T3(i))+((T4(i)-T3(i))+(T8(i)-T3(i)+(T2(i)-T3(i))))==(t3-T1(i))/tau;
eqn4 = ha*l*(Ta-T4(i)+((T9(i)-T4(i))+(T3(i)-T4(i))+(T5(i)-T4(i))))==(t4-T4(i))/tau;
eqn5 = l*k*(ha+hw)*(Ta-T5(i))+(T10-T5(i))+(T4(i)-T5(i))==(t5-T5(i))/tau;
eqn6 = hw*l/k*(Ta-T6(i))+((T1(i)-T6(i))+(T7(i)-T6(i))+(T11(i)-T6(i)))==(t6-T6(i))/tau;
eqn7 = (T6(i)-T7(i))+(T8(i)-T7(i))+(T2(i)-T7(i))+(T12(i)-T7(i))==(t7-T7(i))/tau;
eqn8 = (T7(i)-T8(i))+(T9(i)-T8(i))+(T3(i)-T8(i))+(T13(i)-T8(i))==(t8-T8(i))/tau;
eqn9 = (T8(i)-T9(i))+(T10(i)-T9(i))+(T4(i)-T9(i))+(T14(i)-T9(i))==(t9-T9(i))/tau;
eqn10 = hw*l/k*(Ta-T10(i))+((T5(i)-T10(i))+(T9(i)-T10(i))+(T15(i)-T10(i)))==(t10-T10(i))/tau;
eqn11 = hw*l/k*(Ta-T11(i))+((T6(i)-T11(i))+(T12(i)-T11(i)))==(t11-T11(i))/tau;
eqn12 = hw*l/k*(Ta-T12(i))+((T13(i)-T12(i)+(T7(i)-T12(i))+(T11(i)-T12(i))))==(t12-T12(i))/tau;
eqn13 = hw*l/k*(Ta-T13(i))+((T12(i)-T13(i)+(T8(i)-T13(i))+(T14(i)-T13(i))))==(t13-T13(i))/tau;
eqn14 = hw*l/k*(Ta-T14(i))+((T13(i)-T14(i)+(T5(i)-T14(i))+(T9(i)-T14(i))))==(t14-T14(i))/tau;
eqn15 = hw*l/k*(Ta-T15(i))+((T14(i)-T15(i))+(T10(i)-T15(i)))==(t15-T15(i))/tau;
s = solve([eqn1 eqn2 eqn3 eqn4 eqn5 eqn6 eqn7 eqn8 eqn9 eqn10 eqn11 eqn12 eqn13 eqn14 eqn15],…
[t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15]);
nodal_temperatures = double(struct2array(s));
T1(i+1,1) = s(1);
T2(i+1,1) = s(2);
T3(i+1,1) = s(3);
T4(i+1,1) = s(4);
T5(i+1,1) = s(5);
T6(i+1,1) = s(6);
T7(i+1,1) = s(7);
T8(i+1,1) = s(8);
T9(i+1,1) = s(9);
T10(i+1,1) = s(10);
T11(i+1,1) = s(11);
T12(i+1,1) = s(12);
T13(i+1,1) = s(13);
T14(i+1,1) = s(14);
T15(i+1,1) = s(15);
end
% Display the results for the final temperatures
disp(‘Final Temperatures at Step 60:’);
disp([T1(60,1), T2(60,1), T3(60,1), T4(60,1), T5(60,1), T6(60,1), …
T7(60,1), T8(60,1), T9(60,1), T10(60,1), T11(60,1), T12(60,1),…
T13(60,1), T14(60,1), T15(60,1)]);Someone please help, whenever i run my code I keep getting the same errors. My code and a screenshoot of the error page is attached.
% Given Values
k = 120;
alpha = 3.91e-6;
Ti=1073.15;
Tw=288.15;
Ta=288.15;
hw=100;
ha=10;
dt=10;
n_steps=60;
l=0.1;
tau=0.00391;
T1=zeros(n_steps,1);
T1(1,1)=Ti;
T2=zeros(n_steps,1);
T2(1,1)=Ti;
T3=zeros(n_steps,1);
T3(1,1)=Ti;
T4=zeros(n_steps,1);
T4(1,1)=Ti;
T5=zeros(n_steps,1);
T5(1,1)=Ti;
T6=zeros(n_steps,1);
T6(1,1)=Ti;
T7=zeros(n_steps,1);
T7(1,1)=Ti;
T8=zeros(n_steps,1);
T8(1,1)=Ti;
T9=zeros(n_steps,1);
T9(1,1)=Ti;
T10=zeros(n_steps,1);
T10(1,1)=Ti;
T11=zeros(n_steps,1);
T11(1,1)=Ti;
T12=zeros(n_steps,1);
T12(1,1)=Ti;
T13=zeros(n_steps,1);
T13(1,1)=Ti;
T14=zeros(n_steps,1);
T14(1,1)=Ti;
T15=zeros(n_steps,1);
T15(1,1)=Ti;
for i=1:(n_steps-1)
syms t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15
eqn1 = l*k*(ha+hw)*(Ta-T1(i))+(T6-T1(i))+(T2(i)-T1(i))==(t1-T1(i))/tau;
eqn2 = ha*l*(Ta-T2(i)+((T7(i)-T2(i))+(T3(i)-T2(i))+(T1(i)-T2(i))))==(t2-T2(i))/tau;
eqn3 = ha*l/k*(Ta-T3(i))+((T4(i)-T3(i))+(T8(i)-T3(i)+(T2(i)-T3(i))))==(t3-T1(i))/tau;
eqn4 = ha*l*(Ta-T4(i)+((T9(i)-T4(i))+(T3(i)-T4(i))+(T5(i)-T4(i))))==(t4-T4(i))/tau;
eqn5 = l*k*(ha+hw)*(Ta-T5(i))+(T10-T5(i))+(T4(i)-T5(i))==(t5-T5(i))/tau;
eqn6 = hw*l/k*(Ta-T6(i))+((T1(i)-T6(i))+(T7(i)-T6(i))+(T11(i)-T6(i)))==(t6-T6(i))/tau;
eqn7 = (T6(i)-T7(i))+(T8(i)-T7(i))+(T2(i)-T7(i))+(T12(i)-T7(i))==(t7-T7(i))/tau;
eqn8 = (T7(i)-T8(i))+(T9(i)-T8(i))+(T3(i)-T8(i))+(T13(i)-T8(i))==(t8-T8(i))/tau;
eqn9 = (T8(i)-T9(i))+(T10(i)-T9(i))+(T4(i)-T9(i))+(T14(i)-T9(i))==(t9-T9(i))/tau;
eqn10 = hw*l/k*(Ta-T10(i))+((T5(i)-T10(i))+(T9(i)-T10(i))+(T15(i)-T10(i)))==(t10-T10(i))/tau;
eqn11 = hw*l/k*(Ta-T11(i))+((T6(i)-T11(i))+(T12(i)-T11(i)))==(t11-T11(i))/tau;
eqn12 = hw*l/k*(Ta-T12(i))+((T13(i)-T12(i)+(T7(i)-T12(i))+(T11(i)-T12(i))))==(t12-T12(i))/tau;
eqn13 = hw*l/k*(Ta-T13(i))+((T12(i)-T13(i)+(T8(i)-T13(i))+(T14(i)-T13(i))))==(t13-T13(i))/tau;
eqn14 = hw*l/k*(Ta-T14(i))+((T13(i)-T14(i)+(T5(i)-T14(i))+(T9(i)-T14(i))))==(t14-T14(i))/tau;
eqn15 = hw*l/k*(Ta-T15(i))+((T14(i)-T15(i))+(T10(i)-T15(i)))==(t15-T15(i))/tau;
s = solve([eqn1 eqn2 eqn3 eqn4 eqn5 eqn6 eqn7 eqn8 eqn9 eqn10 eqn11 eqn12 eqn13 eqn14 eqn15],…
[t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15]);
nodal_temperatures = double(struct2array(s));
T1(i+1,1) = s(1);
T2(i+1,1) = s(2);
T3(i+1,1) = s(3);
T4(i+1,1) = s(4);
T5(i+1,1) = s(5);
T6(i+1,1) = s(6);
T7(i+1,1) = s(7);
T8(i+1,1) = s(8);
T9(i+1,1) = s(9);
T10(i+1,1) = s(10);
T11(i+1,1) = s(11);
T12(i+1,1) = s(12);
T13(i+1,1) = s(13);
T14(i+1,1) = s(14);
T15(i+1,1) = s(15);
end
% Display the results for the final temperatures
disp(‘Final Temperatures at Step 60:’);
disp([T1(60,1), T2(60,1), T3(60,1), T4(60,1), T5(60,1), T6(60,1), …
T7(60,1), T8(60,1), T9(60,1), T10(60,1), T11(60,1), T12(60,1),…
T13(60,1), T14(60,1), T15(60,1)]); Someone please help, whenever i run my code I keep getting the same errors. My code and a screenshoot of the error page is attached.
% Given Values
k = 120;
alpha = 3.91e-6;
Ti=1073.15;
Tw=288.15;
Ta=288.15;
hw=100;
ha=10;
dt=10;
n_steps=60;
l=0.1;
tau=0.00391;
T1=zeros(n_steps,1);
T1(1,1)=Ti;
T2=zeros(n_steps,1);
T2(1,1)=Ti;
T3=zeros(n_steps,1);
T3(1,1)=Ti;
T4=zeros(n_steps,1);
T4(1,1)=Ti;
T5=zeros(n_steps,1);
T5(1,1)=Ti;
T6=zeros(n_steps,1);
T6(1,1)=Ti;
T7=zeros(n_steps,1);
T7(1,1)=Ti;
T8=zeros(n_steps,1);
T8(1,1)=Ti;
T9=zeros(n_steps,1);
T9(1,1)=Ti;
T10=zeros(n_steps,1);
T10(1,1)=Ti;
T11=zeros(n_steps,1);
T11(1,1)=Ti;
T12=zeros(n_steps,1);
T12(1,1)=Ti;
T13=zeros(n_steps,1);
T13(1,1)=Ti;
T14=zeros(n_steps,1);
T14(1,1)=Ti;
T15=zeros(n_steps,1);
T15(1,1)=Ti;
for i=1:(n_steps-1)
syms t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15
eqn1 = l*k*(ha+hw)*(Ta-T1(i))+(T6-T1(i))+(T2(i)-T1(i))==(t1-T1(i))/tau;
eqn2 = ha*l*(Ta-T2(i)+((T7(i)-T2(i))+(T3(i)-T2(i))+(T1(i)-T2(i))))==(t2-T2(i))/tau;
eqn3 = ha*l/k*(Ta-T3(i))+((T4(i)-T3(i))+(T8(i)-T3(i)+(T2(i)-T3(i))))==(t3-T1(i))/tau;
eqn4 = ha*l*(Ta-T4(i)+((T9(i)-T4(i))+(T3(i)-T4(i))+(T5(i)-T4(i))))==(t4-T4(i))/tau;
eqn5 = l*k*(ha+hw)*(Ta-T5(i))+(T10-T5(i))+(T4(i)-T5(i))==(t5-T5(i))/tau;
eqn6 = hw*l/k*(Ta-T6(i))+((T1(i)-T6(i))+(T7(i)-T6(i))+(T11(i)-T6(i)))==(t6-T6(i))/tau;
eqn7 = (T6(i)-T7(i))+(T8(i)-T7(i))+(T2(i)-T7(i))+(T12(i)-T7(i))==(t7-T7(i))/tau;
eqn8 = (T7(i)-T8(i))+(T9(i)-T8(i))+(T3(i)-T8(i))+(T13(i)-T8(i))==(t8-T8(i))/tau;
eqn9 = (T8(i)-T9(i))+(T10(i)-T9(i))+(T4(i)-T9(i))+(T14(i)-T9(i))==(t9-T9(i))/tau;
eqn10 = hw*l/k*(Ta-T10(i))+((T5(i)-T10(i))+(T9(i)-T10(i))+(T15(i)-T10(i)))==(t10-T10(i))/tau;
eqn11 = hw*l/k*(Ta-T11(i))+((T6(i)-T11(i))+(T12(i)-T11(i)))==(t11-T11(i))/tau;
eqn12 = hw*l/k*(Ta-T12(i))+((T13(i)-T12(i)+(T7(i)-T12(i))+(T11(i)-T12(i))))==(t12-T12(i))/tau;
eqn13 = hw*l/k*(Ta-T13(i))+((T12(i)-T13(i)+(T8(i)-T13(i))+(T14(i)-T13(i))))==(t13-T13(i))/tau;
eqn14 = hw*l/k*(Ta-T14(i))+((T13(i)-T14(i)+(T5(i)-T14(i))+(T9(i)-T14(i))))==(t14-T14(i))/tau;
eqn15 = hw*l/k*(Ta-T15(i))+((T14(i)-T15(i))+(T10(i)-T15(i)))==(t15-T15(i))/tau;
s = solve([eqn1 eqn2 eqn3 eqn4 eqn5 eqn6 eqn7 eqn8 eqn9 eqn10 eqn11 eqn12 eqn13 eqn14 eqn15],…
[t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12 t13 t14 t15]);
nodal_temperatures = double(struct2array(s));
T1(i+1,1) = s(1);
T2(i+1,1) = s(2);
T3(i+1,1) = s(3);
T4(i+1,1) = s(4);
T5(i+1,1) = s(5);
T6(i+1,1) = s(6);
T7(i+1,1) = s(7);
T8(i+1,1) = s(8);
T9(i+1,1) = s(9);
T10(i+1,1) = s(10);
T11(i+1,1) = s(11);
T12(i+1,1) = s(12);
T13(i+1,1) = s(13);
T14(i+1,1) = s(14);
T15(i+1,1) = s(15);
end
% Display the results for the final temperatures
disp(‘Final Temperatures at Step 60:’);
disp([T1(60,1), T2(60,1), T3(60,1), T4(60,1), T5(60,1), T6(60,1), …
T7(60,1), T8(60,1), T9(60,1), T10(60,1), T11(60,1), T12(60,1),…
T13(60,1), T14(60,1), T15(60,1)]); for loop, iteration, nonlinear, multiple, iteration equation, simulation, mathematics MATLAB Answers — New Questions









