Month: April 2026
Unable to connect to given URL.
url = ‘https://fred.stlouisfed.org/’;
c = fred(url);
Unable to connect to given URL.url = ‘https://fred.stlouisfed.org/’;
c = fred(url);
Unable to connect to given URL. url = ‘https://fred.stlouisfed.org/’;
c = fred(url);
Unable to connect to given URL. fred MATLAB Answers — New Questions
I am using the UCIe 2.0 Standard Package Signal Integrity Kit. Could you tell me where the VTF script is located?
I would like to ask for your guidance regarding my use of the UCIe 2.0 Standard Package Signal Integrity Kit.
In the documentation, a script (run_plotVTF.m) for calculating the VTF is mentioned, as illustrated in the figure below. However, I was not able to locate this file after searching through the provided package.
I also have an additional question: is it possible to run the VTF calculation tool independently, without waiting for the coupled widebus simulation to be completed?
Based on my understanding, the VTF simulation itself is essentially a passive simulation.I would like to ask for your guidance regarding my use of the UCIe 2.0 Standard Package Signal Integrity Kit.
In the documentation, a script (run_plotVTF.m) for calculating the VTF is mentioned, as illustrated in the figure below. However, I was not able to locate this file after searching through the provided package.
I also have an additional question: is it possible to run the VTF calculation tool independently, without waiting for the coupled widebus simulation to be completed?
Based on my understanding, the VTF simulation itself is essentially a passive simulation. I would like to ask for your guidance regarding my use of the UCIe 2.0 Standard Package Signal Integrity Kit.
In the documentation, a script (run_plotVTF.m) for calculating the VTF is mentioned, as illustrated in the figure below. However, I was not able to locate this file after searching through the provided package.
I also have an additional question: is it possible to run the VTF calculation tool independently, without waiting for the coupled widebus simulation to be completed?
Based on my understanding, the VTF simulation itself is essentially a passive simulation. ucie 2.0, parallel link designer, vtf, script MATLAB Answers — New Questions
fixed point tool collect ranges problem
The input of the subsystem to be converted to fixed point in double and specified data types differ significantly,almost one thousand times.And there are many overflows in double mode,and few overflows in specified data types mode.Looking forward to your reply,thank you.The input of the subsystem to be converted to fixed point in double and specified data types differ significantly,almost one thousand times.And there are many overflows in double mode,and few overflows in specified data types mode.Looking forward to your reply,thank you. The input of the subsystem to be converted to fixed point in double and specified data types differ significantly,almost one thousand times.And there are many overflows in double mode,and few overflows in specified data types mode.Looking forward to your reply,thank you. fixed point tool, collect ranges MATLAB Answers — New Questions
Using the Microsoft 365 Connector for Claude
Microsoft 365 Connector for Claude Delivers Access to Microsoft 365 Content
Following in the path of OpenAI’s deployment of a suite of connectors to make Microsoft 365 content available to ChatGPT, Anthrophic has a Microsoft 365 Connector for Claude “to securely access Microsoft 365 services (Outlook, SharePoint, OneDrive, Teams) through user-delegated permissions.” While the connector has been available to enterprise customers for some time, it is now available for all Claude plans, including its free tier and is available through the Microsoft app marketplace.
Anthrophic’s MCP Server for Microsoft 365
Anthrophic chose to use an MCP server to access Microsoft 365 workloads via delegated Graph permissions granted to the enterprise “M365 MCP Server for Claude” (07c030f6-5743-41b7-ba00-0a6e85f37c17) and the “M365 MCP Client for Claude” (08ad6f98-a4f8-4635-bb8d-f1a3044760f0) apps. Figure 1 shows some of the permissions granted to the server app. The client app is granted a custom access_as_user permission from the server app.

Claude is an MCP client that discovers tools via an MCP server. The MCP server app publishes tools to interact with Microsoft 365 like the ability to search SharePoint Online or read Teams chats. The MCP client app takes care of functions like authentication.
Permissions
At first glance, the set of permissions seems terribly extensive and guaranteed to give security teams some heartburn. Anthrophic points out that the permissions are delegated rather than application permissions. Claude’s access to Microsoft 365 content is therefore limited to whatever the signed-in user can access.
In addition, some of the permissions are needed to perform specific functions (like the Sites.Read.All permission is required to perform a SharePoint Search). They also point out that it’s possible to revoke some permissions from the apps at the expense of losing functionality in terms of connector access to Microsoft 365 content. Finally, the permissions permit read access. Claude cannot create new documents, chats, emails, or messages.
If a user is allowed to install the app, the delegated permissions are granted to that user. In the case of team or enterprise installations, the permissions are granted to a scoped set of users or everyone in the tenant.
Using the Microsoft 365 Connector for Claude
Using the Microsoft 365 connector for Claude is simple. After installing the connector, the new tools are available in chats. The first time you Claude attempts to use a tool (like the Chat message search tool shown in Figure 2), it requests permission. If you respond with “Always allow,” you won’t see the prompt again.

Prompts to the Claude app result in the tools generating appropriate Graph API requests to search for or fetch data from Microsoft 365. The retrieved information is then processed by Claude before it is displayed to the user. It’s all happens much like using any AI-powered chat app.
Figure 3 shows the results of a request using the SharePoint search tool where I asked Claude to find information about the Office 365 for IT Pros eBook. What’s interesting here is that Claude omitted details from the site where we store the source chapters for the book. That site has restricted content discovery (RCD) set to stop Microsoft 365 Copilot consuming its content when it generates responses. The nice thing is that RCD also stopped Claude (the files it found are from other sites). I expected this to happen because Claude depends on SharePoint Search and RCD works by removing documents from those search results, but it’s nice to see that the control is effective.

The information shown by Claude in Figure 3 comes from document metadata. Claude can open any of the documents it finds unless the file is protected by a sensitivity label with encryption when Claude can’t secure the required use license from the Azure Information Protection service to access the file.
Some Anthrophic Changes in the Microsoft 365 Admin Center
Meantime, if you have been using Anthrophic models with Microsoft 365 Copilot, some changes are on the way that need your attention. MC1266911 (March 31, 2026) reports that to continue use of the Anthrophic models, tenants must enable Anthropic as a subprocessor in the Microsoft 365 admin center before May 1, 2026. Making Anthrophic a subprocessor means that they comply with guidelines like the Microsoft Data Protection Addendum (DPA).
MC1269241 (3 April 2026) refers to the “Copilot in M365 apps with Anthropic models” setting in the Microsoft 365 Admin Center. When this setting is enabled, Anthropic models will be available by default for Copilot in Word, Excel, and PowerPoint. If you want Copilot users to access the Anthrophic models, the setting needs to be in place by May 4, 2026.
Microsoft 365 Connector for Claude Creates New Option
I’m sure that Microsoft will make the same points about Claude as they did when comparing ChatGPT Enterprise to Microsoft 365 Copilot earlier this year. In a nutshell, why buy an add-on that is integrated insofar as it can access Microsoft 365 data when you can buy the fully-integrated Microsoft 365 Copilot, complete with added security, control over confidential material, auditing, and other compliance features. These are good arguments that weigh heavily as companies decide which AI tools to use, but I suspect that the Claude connector will be popular with individual people who make their own choice.
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.
How to add one extra seat for a different computer on an existing license?
I have a Matlab home license (#xxxxxxx) with one seat already installed on one computer. I need to activate a second seat on a different computer while keeping the first seat actived. How to add an extra activation/ seat?I have a Matlab home license (#xxxxxxx) with one seat already installed on one computer. I need to activate a second seat on a different computer while keeping the first seat actived. How to add an extra activation/ seat? I have a Matlab home license (#xxxxxxx) with one seat already installed on one computer. I need to activate a second seat on a different computer while keeping the first seat actived. How to add an extra activation/ seat? matlab activation MATLAB Answers — New Questions
Anyone have BCM/VCU or control module models in Simulink?
Hi everyone,
I’m currently learning to build control modules using Simulink and MATLAB. I was wondering if anyone has experience with or access to BCM, VCU, or other control module models in Simulink.
If you have any models (especially with sensor data integration) that you can share, it would be really helpful. I’m currently using MATLAB 2021a.
Thanks in advance!Hi everyone,
I’m currently learning to build control modules using Simulink and MATLAB. I was wondering if anyone has experience with or access to BCM, VCU, or other control module models in Simulink.
If you have any models (especially with sensor data integration) that you can share, it would be really helpful. I’m currently using MATLAB 2021a.
Thanks in advance! Hi everyone,
I’m currently learning to build control modules using Simulink and MATLAB. I was wondering if anyone has experience with or access to BCM, VCU, or other control module models in Simulink.
If you have any models (especially with sensor data integration) that you can share, it would be really helpful. I’m currently using MATLAB 2021a.
Thanks in advance! vcu, ecu, bcm MATLAB Answers — New Questions
I cant find UR18650ZTA in matlab training for battery builder
I cant find UR18650ZTA battery part number in matlab training for battery builder — I put the manufacturer as Panasonic and still I am not able to find the part number. The excersise specifically asks for this part number and I can’t find it — Can someone please helpI cant find UR18650ZTA battery part number in matlab training for battery builder — I put the manufacturer as Panasonic and still I am not able to find the part number. The excersise specifically asks for this part number and I can’t find it — Can someone please help I cant find UR18650ZTA battery part number in matlab training for battery builder — I put the manufacturer as Panasonic and still I am not able to find the part number. The excersise specifically asks for this part number and I can’t find it — Can someone please help #battery builder MATLAB Answers — New Questions
Does the Vehicle Network Toolbox currently support PCAN-Developer API where I can have Simulink act as a Client connected to a Net without any hardware?
I would like to have Simulink act as a Client connected to a Net without any hardware using the PCAN-Developer 4 API, which is specified in the link below:
https://www.peak-system.com/products/software/development-packages/pcan-developer/?L=1
Is this currently supported with MATLAB and Simulink?I would like to have Simulink act as a Client connected to a Net without any hardware using the PCAN-Developer 4 API, which is specified in the link below:
https://www.peak-system.com/products/software/development-packages/pcan-developer/?L=1
Is this currently supported with MATLAB and Simulink? I would like to have Simulink act as a Client connected to a Net without any hardware using the PCAN-Developer 4 API, which is specified in the link below:
https://www.peak-system.com/products/software/development-packages/pcan-developer/?L=1
Is this currently supported with MATLAB and Simulink? vehiclenetworktoolbox, simulink, pcan MATLAB Answers — New Questions
Copilot Compliance Nightmare? Microsoft Suddenly Rolls Out Flex Routing
Flex Routing Handles Situations When Excessive Demands for Copilot Processing Exists
If you manage a Microsoft 365 tenant in the European Union or European Free Trade Association (EU/EFTA), you need to pay attention to message center post MC1269223. On April 17, 2026, Microsoft is enabling a new feature called “flex routing” for Microsoft 365 Copilot. Depending on your organization’s data residency requirements, you may need to take action quickly.

European Data Privacy Is Different
In general, European law (including sector-specific regulations like NIS2 and DORA, not to mention GDPR) restricts how data belonging to European organizations may move or be processed outside of the EU. To comply with these laws, Microsoft provides what they call the EU Data Boundary, which guarantees organizations that their data will stay within the EU.
Compliance with these laws and rules isn’t optional, so customers, quite rightly, demand it from their cloud providers. Microsoft has a generally good track record in this regard, with clear statements of where they process data versus where they store it at rest like this page.
What Is Flex Routing?
Flex routing is a new capability that allows Microsoft to process Copilot LLM inferencing workloads outside the EU Data Boundary during periods of peak demand. The idea is straightforward: when too many people are hammering Copilot at once and EU-based GPU capacity runs short, Microsoft can route requests from EU-based tenants to data centers in the United States, Canada, or Australia to maintain a consistent user experience.
“Inferencing” here means the step where the large language model actually processes your prompt and generates a response. By the time inferencing happens, the prompt has already been through preprocessing, safety checks, and retrieval-augmented generation (RAG). That means your organizational data — emails, files, metadata, and system prompts — is bundled together and sent to the model. When flex routing kicks in, that entire package can be processed outside the EU.
Microsoft emphasizes that data remains encrypted in transit and at rest, and that data at rest continues to be stored inside the EU Data Boundary. However, “limited pseudonymized data” may be stored outside the boundary for security and operational purposes.
Flex Routing Is a Potential Problem
For organizations subject to GDPR, sector-specific regulations, or internal data governance policies that require EU-only processing, flex routing represents a meaningful change. Microsoft is being transparent about it — but “transparent” and “compliant with your organization’s policies” are two different things.
The real issue for many administrators is the default state. Flex routing is enabled by default for new tenants created after 25 March 2026, and for everyone else, it will default to “on” starting on 17 April 2026. Microsoft expects administrators to check the setting and decide whether it’s appropriate for their organization.
Then Again, Maybe Not?
The first question, of course, is whether or not flex routing is even necessary given the extremely low adoption of Microsoft 365 Copilot. Are Copilot loads routinely exceeding capacity? Let’s not get into that question just now.
Instead, keep in mind that flex routing only applies to tenants with a sign-up location in the EU or EFTA. If you’re outside those regions, you won’t see the setting. If you’ve purchased Multi-Geo capabilities, the flex routing setting won’t appear even if your tenant is in the EU or EFTA.
What Should Administrators Do?
First, check your current flex routing setting. Here’s how:
- Sign in to the Microsoft 365 admin center with an account that has the AI Administrator role.
- Navigate to Copilot > Settings > Flexible inferencing during peak load periods. (Figure 2)
- You’ll see two options: Allow flex routing during periods of peak load or Do not allow flex routing.

If you select “Do not allow flex routing,” all LLM inferencing will stay inside the EU Data Boundary even during peak demand periods. Microsoft’s standard data processing and data residency commitments continue to apply regardless of which option you choose — the difference is where the GPU crunching happens during busy periods.
Note that Microsoft 365 admin center setting covers Microsoft 365 Copilot and Copilot Chat. There’s a separate setting in the Power Platform admin center for Copilot experiences in Dynamics 365, Power Platform, and Copilot Studio, but it honors the M365 admin center setting unless the Power Platform setting is more restrictive.
The Bigger Picture
This isn’t the only recent change that EU administrators should be watching. Microsoft also enabled Anthropic models by default for most commercial tenants starting in January 2026 — though EU, EFTA, and UK tenants have Anthropic disabled by default because Anthropic-processed data falls outside Microsoft’s EU Data Boundary commitments.
Taken together, these changes represent something more than a pair of new toggles in the admin center. They represent further evidence that Microsoft is continuing its trajectory of pushing updates that have a significant compliance or privacy impact without consulting its enterprise customers. In this case, those customers didn’t even get much notice. For years, EU organizations could reasonably assume that Microsoft’s defaults were conservative — that if a feature had data residency implications, it would ship as opt-in, not opt-out. That assumption no longer holds.
When your cloud provider starts enabling features by default that move data outside regulatory boundaries, the compliance burden shifts from “trust your vendor’s defaults” to “audit every change your vendor makes.” In practice, that means every Message Center post represents a potential compliance problem. Organizations that treat the Message Center as an IT operations feed need to start treating it as a compliance feed, too — and that’s a big change in how much work it takes to stay on the right side of the regulations.
Log into the admin center, check your flex routing and Anthropic model settings, and make a deliberate decision about each one. If your organization has a data protection officer or legal team that cares about data residency, loop them in. The settings are easy to change — but only if you know they exist. The bigger challenge is building a process that catches the next one before it’s too late.
Support the work of the Office 365 for IT Pros team by subscribing to the Office 365 for IT Pros eBook. Your support pays for the time we need to track, analyze, and document the changing world of Microsoft 365 and Office 365. Only humans contribute to our work!
How do I request physical media?
I need physical media in order to download the products. How do I request physical media?I need physical media in order to download the products. How do I request physical media? I need physical media in order to download the products. How do I request physical media? MATLAB Answers — New Questions
How do I access my Online Training Suite?
How do I access my Online Training Suite?How do I access my Online Training Suite? How do I access my Online Training Suite? MATLAB Answers — New Questions
Separate tools setting callbacks for one event
Consider two tools that add annotations to a plot. Both toolA and toolB add annotations that are sensitive to the current YLim of the axis. toolA and toolB are completely independent. Either one or both may be used on any given plot.
Both tools add annotations that must be placed relative to one another within their set. For example, a series of labels that "stair step" down as the x-axis increases. So the position of any individual label has some dependence on the "previous" label (text object).
I have found that just adding a listener on YLim PostSet is insufficient, as the "Restore View" for zoom does not stimulate that callback. I have found I also need the same callback(s) invoked if the figure size is changed. I am aware of the LimitsChanged callback for axis objects and the SizeChanged callback for the figure objects, but as far as I can tell they can only point to a single callback function, not a list of functions.
I have figured out some rather hacky ways to handle this use case, but I’m wondering if there is a preferred method for doing something like this. It seems that addlistener would be the preferred way as that doesn’t overwrite a property, but I’ve been unable to find a way to get that to reliably work for all use cases (like zooming and figure resizing).
[Note that I am currently using R2022b, but there are others in our group that currently need to use MATLAB as old as R2018b. We have a number of mission-critical tools that need to be recertified if the version of MATLAB changes, so there can be lags adopting the lastest version of MATLAB.]Consider two tools that add annotations to a plot. Both toolA and toolB add annotations that are sensitive to the current YLim of the axis. toolA and toolB are completely independent. Either one or both may be used on any given plot.
Both tools add annotations that must be placed relative to one another within their set. For example, a series of labels that "stair step" down as the x-axis increases. So the position of any individual label has some dependence on the "previous" label (text object).
I have found that just adding a listener on YLim PostSet is insufficient, as the "Restore View" for zoom does not stimulate that callback. I have found I also need the same callback(s) invoked if the figure size is changed. I am aware of the LimitsChanged callback for axis objects and the SizeChanged callback for the figure objects, but as far as I can tell they can only point to a single callback function, not a list of functions.
I have figured out some rather hacky ways to handle this use case, but I’m wondering if there is a preferred method for doing something like this. It seems that addlistener would be the preferred way as that doesn’t overwrite a property, but I’ve been unable to find a way to get that to reliably work for all use cases (like zooming and figure resizing).
[Note that I am currently using R2022b, but there are others in our group that currently need to use MATLAB as old as R2018b. We have a number of mission-critical tools that need to be recertified if the version of MATLAB changes, so there can be lags adopting the lastest version of MATLAB.] Consider two tools that add annotations to a plot. Both toolA and toolB add annotations that are sensitive to the current YLim of the axis. toolA and toolB are completely independent. Either one or both may be used on any given plot.
Both tools add annotations that must be placed relative to one another within their set. For example, a series of labels that "stair step" down as the x-axis increases. So the position of any individual label has some dependence on the "previous" label (text object).
I have found that just adding a listener on YLim PostSet is insufficient, as the "Restore View" for zoom does not stimulate that callback. I have found I also need the same callback(s) invoked if the figure size is changed. I am aware of the LimitsChanged callback for axis objects and the SizeChanged callback for the figure objects, but as far as I can tell they can only point to a single callback function, not a list of functions.
I have figured out some rather hacky ways to handle this use case, but I’m wondering if there is a preferred method for doing something like this. It seems that addlistener would be the preferred way as that doesn’t overwrite a property, but I’ve been unable to find a way to get that to reliably work for all use cases (like zooming and figure resizing).
[Note that I am currently using R2022b, but there are others in our group that currently need to use MATLAB as old as R2018b. We have a number of mission-critical tools that need to be recertified if the version of MATLAB changes, so there can be lags adopting the lastest version of MATLAB.] callback, figure MATLAB Answers — New Questions
Looking for addon name
I found a simulink model that contains a missing block from standard library. I have search it on google, but nothing was found. Does anyone know addon/library name/link for this block? Thank you.I found a simulink model that contains a missing block from standard library. I have search it on google, but nothing was found. Does anyone know addon/library name/link for this block? Thank you. I found a simulink model that contains a missing block from standard library. I have search it on google, but nothing was found. Does anyone know addon/library name/link for this block? Thank you. simulink MATLAB Answers — New Questions
raspberry pi connect in HW resource mgr – sudo user privilege test status not enabled
How to get the privilege test status indicatoe to green so that the next provedure ocuresHow to get the privilege test status indicatoe to green so that the next provedure ocures How to get the privilege test status indicatoe to green so that the next provedure ocures pi sudo MATLAB Answers — New Questions
How to Track Changes in Microsoft 365 Groups
Upgrading the Microsoft 365 Groups Change Report Script
Don’t you just love it when people complain when a PowerShell script written ten years ago to accompany a blog post doesn’t work? This happened the other day for a Practical365.com article about a script to report information about new, changed, and deleted Office 365 Groups (now Microsoft 365 Groups). Apparently, the script didn’t complete and the expected email containing the information was never sent.
2016 is eons ago in Microsoft 365 time. So much has changed since, and it’s utterly unsurprising that code written then doesn’t work as well as it once did or fails altogether. My Teams and Groups Activity Report script dates from approximately the same time, and I know how many changes have been necessary to keep the code updated since.
Old Code Might Not Work Today
A quick glance at the code in the Microsoft 365 Groups Change Report script revealed some obvious issues, like the use of the Credential parameter when connecting to Exchange Online. Microsoft has deprecated the Credential parameter and will remove it in July 2026. Settings for the script are in an XML file on a local drive whereas today you might store the file in a SharePoint Online document library, and the email is sent using the old Send-MailMessage cmdlet using basic authentication with SMTP AUTH. All in all, the code is of its time and is a good example of why PowerShell scripts should be reviewed periodically.
In any case, it seems like the major functionality delivered by the script is to highlight the additions, removals, and updates of Microsoft 365 groups and the code accomplishes the goal by checking properties stored in a list (the XML file). If a group isn’t in the list, it’s a newly added group, and if a group is in the list and no longer available, it’s a deleted group.
The reason why this kind of mechanism is used is probably because the unified audit log didn’t exist when the script was written. Additions, deletions, and updates for Entra ID groups are captured in audit events and this removes the need to maintain a separate file to track group changes. Although the audit events include changes for security and mail-enabled security groups too, it’s easy to filter events relating to Microsoft 365 Groups from the full set.
Defining Steps for a Microsoft 365 Groups Change Report Script
A modern version of the Microsoft 365 Groups Change report script might include these steps:
- Connect to Exchange Online.
- Connect to Microsoft Graph.
- Find the set of Microsoft 365 Groups (using the Graph Get-MgGroup cmdlet is faster than the Exchange Get-UnifiedGroup cmdlet).
- Create a hash table containing group details to filter against when checking audit records.
- Search the audit log for group addition, deletion, and update events for the last 30 days.
- Populate a PowerShell list of events for Microsoft 365 Groups.
- Populate a PowerShell list of the Groups, including membership and ownership.
- Generate a HTML report file and either a CSV or XLSX file containing the group list, depending on the availability of the ImportExcel module.
- Send a mail message to a predetermined address (which could be a distribution list) with the HTML report as the message body (Figure 1) and the CSV or XLSX file as an attachment. The mailbox of the signed-in account is used to send the message.

One of the interesting things I found from the data reported by the script is that most of the updates for Microsoft 365 Groups came from system processes that use the Office 365 Exchange Online app or other background apps like the Group Configuration Processor or Microsoft Approval Management. The function of these apps is to make sure that the settings and membership of Microsoft 365 groups are accurate.
Download the Script
You can download my version of the Microsoft 365 Changes Report script from the Office 365 for IT Pros GitHub repository. Assuming that you can sign into a Microsoft Graph PowerShell SDK session with the right permissions, the code should run on any tenant, but you’ll have to update the code to change the recipient of the message.
This is a good example of a script that is well suited for Azure Automation. It would be easy to change the code to sign in with managed identities and have the script executed as a scheduled runbook every week, month, or whatever interval makes sense. Happy scripting!
Adding variables to a plugin interface
Hello,
I’m working on a BiQuad plugin in Matlab. In the code, I generate the coeffients and use these to build the filter. I’m trying to figure out how to display the coefficent variables in the plugin interface window. Would anyone know how to do that and add it to the grid layout? Thank you.Hello,
I’m working on a BiQuad plugin in Matlab. In the code, I generate the coeffients and use these to build the filter. I’m trying to figure out how to display the coefficent variables in the plugin interface window. Would anyone know how to do that and add it to the grid layout? Thank you. Hello,
I’m working on a BiQuad plugin in Matlab. In the code, I generate the coeffients and use these to build the filter. I’m trying to figure out how to display the coefficent variables in the plugin interface window. Would anyone know how to do that and add it to the grid layout? Thank you. plugin, variables MATLAB Answers — New Questions
Kundur Two-Area System Simulink Model (.slx) for MATLAB R2025b and Adding Distributed Generators
I am looking for a Simulink (.slx) file of the Kundur two-area power system model that is compatible with MATLAB/Simulink R2025b.
Specifically, I would like to know:
Where can I find or download a reliable Simulink implementation of Kundur’s two-area system (preferably already validated)?
If an existing model is from an older MATLAB version, what steps are required to make it compatible with R2025b?
Additionally, I want to extend the model by integrating distributed generators (DGs) into the system.
What is the recommended approach to add distributed generation units (e.g., inverter-based DGs or small synchronous generators) into the Kundur two-area system in Simulink?
Which Simulink/Simscape Electrical blocks should be used for modeling DGs?
Are there best practices for:
Connecting DGs to existing buses
Control strategies (e.g., PQ control, droop control)
Maintaining system stability after integration
Any references, example models, or guidance would be greatly appreciated.I am looking for a Simulink (.slx) file of the Kundur two-area power system model that is compatible with MATLAB/Simulink R2025b.
Specifically, I would like to know:
Where can I find or download a reliable Simulink implementation of Kundur’s two-area system (preferably already validated)?
If an existing model is from an older MATLAB version, what steps are required to make it compatible with R2025b?
Additionally, I want to extend the model by integrating distributed generators (DGs) into the system.
What is the recommended approach to add distributed generation units (e.g., inverter-based DGs or small synchronous generators) into the Kundur two-area system in Simulink?
Which Simulink/Simscape Electrical blocks should be used for modeling DGs?
Are there best practices for:
Connecting DGs to existing buses
Control strategies (e.g., PQ control, droop control)
Maintaining system stability after integration
Any references, example models, or guidance would be greatly appreciated. I am looking for a Simulink (.slx) file of the Kundur two-area power system model that is compatible with MATLAB/Simulink R2025b.
Specifically, I would like to know:
Where can I find or download a reliable Simulink implementation of Kundur’s two-area system (preferably already validated)?
If an existing model is from an older MATLAB version, what steps are required to make it compatible with R2025b?
Additionally, I want to extend the model by integrating distributed generators (DGs) into the system.
What is the recommended approach to add distributed generation units (e.g., inverter-based DGs or small synchronous generators) into the Kundur two-area system in Simulink?
Which Simulink/Simscape Electrical blocks should be used for modeling DGs?
Are there best practices for:
Connecting DGs to existing buses
Control strategies (e.g., PQ control, droop control)
Maintaining system stability after integration
Any references, example models, or guidance would be greatly appreciated. kundur’s two area bus system, transient stability MATLAB Answers — New Questions
chebyshev II BPF magnitude response is not equal to 1 in the passband – incorrect magnitude response when using freqz(b,a)
I need to exctract frequency bands of eeg signal using iir filterbanks , i got the optimum order of chebyshev type II BPF , I designed the filter but I get magntitude response not equal to 1 in the passbands , also I get incorrect magntuide response when using freqz(b,a) , code given below and magnitude response figure when using freqz(sos,[],Fs)and freqz(b,a) , kindly check .
clear
close all
clc
% Delta (0.5 – 4) Hz
% theta (4 – 7.9) Hz
% Lower Alpha (7.9 – 10) Hz
% Upper Alpha (10.1 – 12.9) Hz
% LOW BETA (12-15) Hz
% MID BETA (15-18) Hz
Fs=173.61;% Sampling Frequency
Fn=Fs/2; % Nyquist Frequency
Wpm=[0.5 4;4 7.9;7.9 10;10.1 12.9;12 15;15 18];% Passbands
Rp=3;% Passband Ripple
Rs=40;% Stopband Ripple
for m=1:size(Wpm,1)
Wp=Wpm(m,:)/Fn;
Ws=Wp.*[0.9 1.05];
%% Design a bandpass filters
[n(m,:),Ws]=cheb2ord(Wp,Ws,Rp,Rs); % Determine filter Order
[b{m},a{m}]=cheby2(ceil(n(m,:)/2),Rs,Ws,"bandpass");
[z,p,k]=cheby2(ceil(n(m,:)/2),Rs,Ws,"bandpass"); % Transfer Function Coefficients
[sos{m},g{m}]=zp2sos(z,p,k);
[H{m},f]=freqz(sos{m},[],Fs);
[H1{m},f]=freqz(b{m},a{m},[],Fs);
subplot(size(Wpm,1),2,2*m-1)
plot(f,abs(H{m}),"LineWidth",1.5)
title(sprintf(‘Frequency Response of digital Chebyshev II order n = %d’,n(m,:)))
ylim([0 1.2*max(abs(H{m}))]),xlabel(‘Hz’) , ylabel(‘Magnitude’)
grid on , xticks([Wp*Fn Fn])
subplot(size(Wpm,1),2,2*m)
plot(f,abs(H1{m}),"LineWidth",1.5)
title(sprintf(‘Frequency Response of digital Chebyshev II order n = %d’,n(m,:)))
ylim([0 1.2*max(abs(H1{m}))]),xlabel(‘Hz’), ylabel(‘Magnitude’),
grid on , xticks([Wp*Fn Fn])
grid on , xticks([Wp*Fn Fn])
endI need to exctract frequency bands of eeg signal using iir filterbanks , i got the optimum order of chebyshev type II BPF , I designed the filter but I get magntitude response not equal to 1 in the passbands , also I get incorrect magntuide response when using freqz(b,a) , code given below and magnitude response figure when using freqz(sos,[],Fs)and freqz(b,a) , kindly check .
clear
close all
clc
% Delta (0.5 – 4) Hz
% theta (4 – 7.9) Hz
% Lower Alpha (7.9 – 10) Hz
% Upper Alpha (10.1 – 12.9) Hz
% LOW BETA (12-15) Hz
% MID BETA (15-18) Hz
Fs=173.61;% Sampling Frequency
Fn=Fs/2; % Nyquist Frequency
Wpm=[0.5 4;4 7.9;7.9 10;10.1 12.9;12 15;15 18];% Passbands
Rp=3;% Passband Ripple
Rs=40;% Stopband Ripple
for m=1:size(Wpm,1)
Wp=Wpm(m,:)/Fn;
Ws=Wp.*[0.9 1.05];
%% Design a bandpass filters
[n(m,:),Ws]=cheb2ord(Wp,Ws,Rp,Rs); % Determine filter Order
[b{m},a{m}]=cheby2(ceil(n(m,:)/2),Rs,Ws,"bandpass");
[z,p,k]=cheby2(ceil(n(m,:)/2),Rs,Ws,"bandpass"); % Transfer Function Coefficients
[sos{m},g{m}]=zp2sos(z,p,k);
[H{m},f]=freqz(sos{m},[],Fs);
[H1{m},f]=freqz(b{m},a{m},[],Fs);
subplot(size(Wpm,1),2,2*m-1)
plot(f,abs(H{m}),"LineWidth",1.5)
title(sprintf(‘Frequency Response of digital Chebyshev II order n = %d’,n(m,:)))
ylim([0 1.2*max(abs(H{m}))]),xlabel(‘Hz’) , ylabel(‘Magnitude’)
grid on , xticks([Wp*Fn Fn])
subplot(size(Wpm,1),2,2*m)
plot(f,abs(H1{m}),"LineWidth",1.5)
title(sprintf(‘Frequency Response of digital Chebyshev II order n = %d’,n(m,:)))
ylim([0 1.2*max(abs(H1{m}))]),xlabel(‘Hz’), ylabel(‘Magnitude’),
grid on , xticks([Wp*Fn Fn])
grid on , xticks([Wp*Fn Fn])
end I need to exctract frequency bands of eeg signal using iir filterbanks , i got the optimum order of chebyshev type II BPF , I designed the filter but I get magntitude response not equal to 1 in the passbands , also I get incorrect magntuide response when using freqz(b,a) , code given below and magnitude response figure when using freqz(sos,[],Fs)and freqz(b,a) , kindly check .
clear
close all
clc
% Delta (0.5 – 4) Hz
% theta (4 – 7.9) Hz
% Lower Alpha (7.9 – 10) Hz
% Upper Alpha (10.1 – 12.9) Hz
% LOW BETA (12-15) Hz
% MID BETA (15-18) Hz
Fs=173.61;% Sampling Frequency
Fn=Fs/2; % Nyquist Frequency
Wpm=[0.5 4;4 7.9;7.9 10;10.1 12.9;12 15;15 18];% Passbands
Rp=3;% Passband Ripple
Rs=40;% Stopband Ripple
for m=1:size(Wpm,1)
Wp=Wpm(m,:)/Fn;
Ws=Wp.*[0.9 1.05];
%% Design a bandpass filters
[n(m,:),Ws]=cheb2ord(Wp,Ws,Rp,Rs); % Determine filter Order
[b{m},a{m}]=cheby2(ceil(n(m,:)/2),Rs,Ws,"bandpass");
[z,p,k]=cheby2(ceil(n(m,:)/2),Rs,Ws,"bandpass"); % Transfer Function Coefficients
[sos{m},g{m}]=zp2sos(z,p,k);
[H{m},f]=freqz(sos{m},[],Fs);
[H1{m},f]=freqz(b{m},a{m},[],Fs);
subplot(size(Wpm,1),2,2*m-1)
plot(f,abs(H{m}),"LineWidth",1.5)
title(sprintf(‘Frequency Response of digital Chebyshev II order n = %d’,n(m,:)))
ylim([0 1.2*max(abs(H{m}))]),xlabel(‘Hz’) , ylabel(‘Magnitude’)
grid on , xticks([Wp*Fn Fn])
subplot(size(Wpm,1),2,2*m)
plot(f,abs(H1{m}),"LineWidth",1.5)
title(sprintf(‘Frequency Response of digital Chebyshev II order n = %d’,n(m,:)))
ylim([0 1.2*max(abs(H1{m}))]),xlabel(‘Hz’), ylabel(‘Magnitude’),
grid on , xticks([Wp*Fn Fn])
grid on , xticks([Wp*Fn Fn])
end chebyshev ii, bandpass filter, freqz, magnitude response MATLAB Answers — New Questions
Problem with design verifier options
When I have opened the Design Verifier-> Options I can’t able to access the fields of the options How to fix this?When I have opened the Design Verifier-> Options I can’t able to access the fields of the options How to fix this? When I have opened the Design Verifier-> Options I can’t able to access the fields of the options How to fix this? simulink, verifier MATLAB Answers — New Questions
Inconsistent pressure, enthalpy and entropy from thermodynamic properties sensor and pressure sensor compared with CoolProp
I’m looking at the reversible heat pump example found here:
https://www.mathworks.com/help/hydro/ug/ReversibleHeatPumpExample.html
I run the example as-is, and then look at results in Simscape results explorer, focusing on three values calculated within S1: pressure from the Saturation Properties Sensor and enthalpy and entropy from the Thermodynamic Properties Sensor. I then move those plots to a figure and highlight three values at a single time:
The simulink model results give P=0.845676 MPa, H=423.098kJ/kg and S=1.87762kJ/kgK
However, when I use CoolProp within matlab to calculate entropy at the pressure and enthalpy combination I get a different value than given by the saturation properties sensor:
py.CoolProp.CoolProp.PropsSI(‘S’, ‘P’, 0.845676e6, ‘H’, 423.098*1e3, ‘R410A’)/1000
ans =
1.8113
Why is CoolProp giving 1.8113kJ/kgK but the thermodynamic properties sensor is giving 1.87762kJ/kgK?I’m looking at the reversible heat pump example found here:
https://www.mathworks.com/help/hydro/ug/ReversibleHeatPumpExample.html
I run the example as-is, and then look at results in Simscape results explorer, focusing on three values calculated within S1: pressure from the Saturation Properties Sensor and enthalpy and entropy from the Thermodynamic Properties Sensor. I then move those plots to a figure and highlight three values at a single time:
The simulink model results give P=0.845676 MPa, H=423.098kJ/kg and S=1.87762kJ/kgK
However, when I use CoolProp within matlab to calculate entropy at the pressure and enthalpy combination I get a different value than given by the saturation properties sensor:
py.CoolProp.CoolProp.PropsSI(‘S’, ‘P’, 0.845676e6, ‘H’, 423.098*1e3, ‘R410A’)/1000
ans =
1.8113
Why is CoolProp giving 1.8113kJ/kgK but the thermodynamic properties sensor is giving 1.87762kJ/kgK? I’m looking at the reversible heat pump example found here:
https://www.mathworks.com/help/hydro/ug/ReversibleHeatPumpExample.html
I run the example as-is, and then look at results in Simscape results explorer, focusing on three values calculated within S1: pressure from the Saturation Properties Sensor and enthalpy and entropy from the Thermodynamic Properties Sensor. I then move those plots to a figure and highlight three values at a single time:
The simulink model results give P=0.845676 MPa, H=423.098kJ/kg and S=1.87762kJ/kgK
However, when I use CoolProp within matlab to calculate entropy at the pressure and enthalpy combination I get a different value than given by the saturation properties sensor:
py.CoolProp.CoolProp.PropsSI(‘S’, ‘P’, 0.845676e6, ‘H’, 423.098*1e3, ‘R410A’)/1000
ans =
1.8113
Why is CoolProp giving 1.8113kJ/kgK but the thermodynamic properties sensor is giving 1.87762kJ/kgK? simulink, fluid properties, saturation properties sensor, entropy MATLAB Answers — New Questions









