Category: News
Legend not exported when position is set to “best”
I’m creating a figure with plot and legend and I set the legend’s position to "best" like this:
legend("…", Location="best")
After exporting:
exportgraphics(f, fullfile(opts.output_path,fig_name), ‘Resolution’, 300);
The legend is not on the figure.
If I set the location to someting else, like "southwest", it works.
Does anyone know if there is a solution to this?
Thanks!I’m creating a figure with plot and legend and I set the legend’s position to "best" like this:
legend("…", Location="best")
After exporting:
exportgraphics(f, fullfile(opts.output_path,fig_name), ‘Resolution’, 300);
The legend is not on the figure.
If I set the location to someting else, like "southwest", it works.
Does anyone know if there is a solution to this?
Thanks! I’m creating a figure with plot and legend and I set the legend’s position to "best" like this:
legend("…", Location="best")
After exporting:
exportgraphics(f, fullfile(opts.output_path,fig_name), ‘Resolution’, 300);
The legend is not on the figure.
If I set the location to someting else, like "southwest", it works.
Does anyone know if there is a solution to this?
Thanks! figure, legend, exportgrapics MATLAB Answers — New Questions
How can I use sqlwrite with backgroundPool?
I am receiving real-time data and saving the data to a MS SQL Server database using sqlwrite with no problem. I want to run this on the backgroundPool to ensure the main thread remains responsive to user input. I have Parallel Computing Toolbox and a JDBC connection object that reads and writes to the MS SQL Server database with no issue.
However, when I create a parallel.pool.Constant object and pass it to parfeval, the connection object fails the check for a valid connection (~isopen(conn)) that is found in both sqlwrite (line 56) and fetch (line 69).
conn = database( … );
bgConn = parallel.pool.Constant(conn);
f = parfeval(backgroundPool,@(c)isopen(c.Value),1,bgConn);
disp([‘Bg Pool // ConnIsOpen: ‘ num2str(fetchOutputs(f))]);
returns
Bg Pool // ConnIsOpen: 0
If I try a function handle, I get a different error message.
fhConn = @()database( … );
bgFhConn = parallel.pool.Constant(fhConn);
f = parfeval(backgroundPool,@(c)isopen(c.Value),1,bgFhConn);
disp([‘Bg Pool // ConnIsOpen: ‘ num2str(fetchOutputs(f))]);
returns
One or more futures resulted in an error.
Caused by:
Error using parallel.pool.Constant/get.Value (line 188)
Unable to create parallel.pool.Constant on the workers.
Unable to resolve the name ‘com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager’.
How can I use parfeval to run sqlwrite? I see the same behaviour in both MATLAB 2024a and 2025a. Thanks for your help.I am receiving real-time data and saving the data to a MS SQL Server database using sqlwrite with no problem. I want to run this on the backgroundPool to ensure the main thread remains responsive to user input. I have Parallel Computing Toolbox and a JDBC connection object that reads and writes to the MS SQL Server database with no issue.
However, when I create a parallel.pool.Constant object and pass it to parfeval, the connection object fails the check for a valid connection (~isopen(conn)) that is found in both sqlwrite (line 56) and fetch (line 69).
conn = database( … );
bgConn = parallel.pool.Constant(conn);
f = parfeval(backgroundPool,@(c)isopen(c.Value),1,bgConn);
disp([‘Bg Pool // ConnIsOpen: ‘ num2str(fetchOutputs(f))]);
returns
Bg Pool // ConnIsOpen: 0
If I try a function handle, I get a different error message.
fhConn = @()database( … );
bgFhConn = parallel.pool.Constant(fhConn);
f = parfeval(backgroundPool,@(c)isopen(c.Value),1,bgFhConn);
disp([‘Bg Pool // ConnIsOpen: ‘ num2str(fetchOutputs(f))]);
returns
One or more futures resulted in an error.
Caused by:
Error using parallel.pool.Constant/get.Value (line 188)
Unable to create parallel.pool.Constant on the workers.
Unable to resolve the name ‘com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager’.
How can I use parfeval to run sqlwrite? I see the same behaviour in both MATLAB 2024a and 2025a. Thanks for your help. I am receiving real-time data and saving the data to a MS SQL Server database using sqlwrite with no problem. I want to run this on the backgroundPool to ensure the main thread remains responsive to user input. I have Parallel Computing Toolbox and a JDBC connection object that reads and writes to the MS SQL Server database with no issue.
However, when I create a parallel.pool.Constant object and pass it to parfeval, the connection object fails the check for a valid connection (~isopen(conn)) that is found in both sqlwrite (line 56) and fetch (line 69).
conn = database( … );
bgConn = parallel.pool.Constant(conn);
f = parfeval(backgroundPool,@(c)isopen(c.Value),1,bgConn);
disp([‘Bg Pool // ConnIsOpen: ‘ num2str(fetchOutputs(f))]);
returns
Bg Pool // ConnIsOpen: 0
If I try a function handle, I get a different error message.
fhConn = @()database( … );
bgFhConn = parallel.pool.Constant(fhConn);
f = parfeval(backgroundPool,@(c)isopen(c.Value),1,bgFhConn);
disp([‘Bg Pool // ConnIsOpen: ‘ num2str(fetchOutputs(f))]);
returns
One or more futures resulted in an error.
Caused by:
Error using parallel.pool.Constant/get.Value (line 188)
Unable to create parallel.pool.Constant on the workers.
Unable to resolve the name ‘com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager’.
How can I use parfeval to run sqlwrite? I see the same behaviour in both MATLAB 2024a and 2025a. Thanks for your help. backgroundpool, sqlwrite, fetch, database, jdbc MATLAB Answers — New Questions
Teams Stamps External Users with Trust Indicators
Trust Indicators Indicate the Level of Trust in External Users
Unfortunately, social engineering attacks designed to confuse and trick unwary users into doing something that leads to account compromise (and potentially to tenant compromise) continue unabated. According to the last number for monthly active users provided by Microsoft, 320 million people use Teams. That audience represents an attractive target for attackers to go after, and many of the social engineering attacks occur through federated chats from unknown externals users.
The original design for Teams envisaged an open collaborative environment where Teams users from Microsoft 365 domains could connect to Teams users in other domains. Attackers duly signed up trial tenants and used trial Teams licenses to reach out and attempt to connect with targets. Given that the SIP address for most Microsoft 365 users is the same as their primary SMTP address, once an attacker has an email address, they can try to institute a federated chat to that address and hope that the person at the other end responds.
Visual Clues About the Trustability of External Users
Microsoft clamped down on the ability of trial tenants to use federated chat in 2024. But attackers adapt to changed circumstances and keep on trying. This brings us to the announcement of trust indicators for Teams users published in MC1162276 (29 September 2025). Like the external tag applied to email from external sources, a trust indicator is a badge displayed alongside an external user’s name to give tenant users a visual clue about their status.
Public preview for trusted indicators has already started and is expected to be completed in late November. General availability will then roll out the feature to all tenants in all clouds for completion in early January 2026. The documentation for trust indicators describes the different badges used by Teams and where the badges appear, so I won’t go into the details here. However, here are some examples of where you’ll probably see trust indicators in action.
First, Figure 1 shows the participant list for a group chat. I’m a guest user in this chat and the badge and tooltip show that status. A guest user has a high level of trust because they are using an account added to the tenant directory to access Teams. Some might argue that this really doesn’t indicate a high level of trust because guests can be added to the tenant directory without administrative oversight. For example, by sharing a document with an external user.

Figure 2 shows another important point. In this case, we’re viewing the membership of a team and two of the members have no trust indicators. This is because they’re tenant members, so their status makes these members very trustworthy.

Build an Allow List for Teams Communications
Trust indicators are a nice addition to Teams, but I fear that they don’t address an issue that many Microsoft 365 tenants ignore, and that’s the need to control external access for Teams. I accept that it’s nice to be open and collaborative and willing to communicate with anyone in any tenant, but I also consider this to be a dangerous approach to use without question. An open tenant is an invitation to connect, but that allows unwanted visitors to attempt to connect to users.
Tenants can control the tenants that users are allowed to communicate with by establishing an external access allow list. You can build an allow list manually, but it can be difficult to know all the domains that people wish to use. It’s possible to construct the allow list programmatically with PowerShell using sources like the home domains for guest accounts or federated chats with external people. Either source is a good start for an allow list that can then be tweaked to add whatever domains are missing.
The downside of using an allow list to control Teams external access is that anytime someone wants to connect with a user in a domain that’s not in the allow list, they must seek approval for the addition of that domain. That’s regrettable, but it might be better than allowing external connections from any other Microsoft 365 domain, including those controlled by the bad guys.
Small but Important Step
Trust indicators are a small but important step to help Teams users recognize the status of external collaborators. It’s good to have these visual clues, and I hope that the clues help users to be more wary in their external communications. However, maybe it’s even better to close off the holes in Teams external access where undesirable connections can creep in.
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!
30 days test version for learning
Hello, I would like to install test version of MAtlab for my personal training, however before I install it is asking me to write my company name. the thing is I am not working anywhere, I dont have a company. what shall I do? how can I test the Matlab? Thanks a lot!Hello, I would like to install test version of MAtlab for my personal training, however before I install it is asking me to write my company name. the thing is I am not working anywhere, I dont have a company. what shall I do? how can I test the Matlab? Thanks a lot! Hello, I would like to install test version of MAtlab for my personal training, however before I install it is asking me to write my company name. the thing is I am not working anywhere, I dont have a company. what shall I do? how can I test the Matlab? Thanks a lot! trial, matlab, test version MATLAB Answers — New Questions
Issue with XCP on CAN (F2838x – Simulink External Mode)
Dear MathWorks Team,
I am currently programming a TI F2838x processor using Simulink. For External Mode, I am using XCP on CAN and have selected the CAN-A module.
However, CAN-A is not solely used for XCP communication — I also use it for standard CAN communication with different message IDs. XCP works as expected, and I can monitor variable values via the A2L file without any issues. That said, I have encountered an intermittent issue on the CAN bus: occasionally (approximately every 2 hours), a message appears with the same CAN ID as one of my existing fixed-length (8-byte) messages, but with a different data length.
This behavior should not occur under normal circumstances. I have reviewed my XCP configuration and everything appears to be correctly set up. Additionally, I have ensured that no mailbox number conflicts exist between the XCP configuration and my other CAN messages.
I would appreciate any insights or suggestions as to what might be causing this unexpected behavior. Has anyone encountered a similar issue, or is there any known limitation or configuration detail that I might be overlooking?
Thank you in advance for your support.Dear MathWorks Team,
I am currently programming a TI F2838x processor using Simulink. For External Mode, I am using XCP on CAN and have selected the CAN-A module.
However, CAN-A is not solely used for XCP communication — I also use it for standard CAN communication with different message IDs. XCP works as expected, and I can monitor variable values via the A2L file without any issues. That said, I have encountered an intermittent issue on the CAN bus: occasionally (approximately every 2 hours), a message appears with the same CAN ID as one of my existing fixed-length (8-byte) messages, but with a different data length.
This behavior should not occur under normal circumstances. I have reviewed my XCP configuration and everything appears to be correctly set up. Additionally, I have ensured that no mailbox number conflicts exist between the XCP configuration and my other CAN messages.
I would appreciate any insights or suggestions as to what might be causing this unexpected behavior. Has anyone encountered a similar issue, or is there any known limitation or configuration detail that I might be overlooking?
Thank you in advance for your support. Dear MathWorks Team,
I am currently programming a TI F2838x processor using Simulink. For External Mode, I am using XCP on CAN and have selected the CAN-A module.
However, CAN-A is not solely used for XCP communication — I also use it for standard CAN communication with different message IDs. XCP works as expected, and I can monitor variable values via the A2L file without any issues. That said, I have encountered an intermittent issue on the CAN bus: occasionally (approximately every 2 hours), a message appears with the same CAN ID as one of my existing fixed-length (8-byte) messages, but with a different data length.
This behavior should not occur under normal circumstances. I have reviewed my XCP configuration and everything appears to be correctly set up. Additionally, I have ensured that no mailbox number conflicts exist between the XCP configuration and my other CAN messages.
I would appreciate any insights or suggestions as to what might be causing this unexpected behavior. Has anyone encountered a similar issue, or is there any known limitation or configuration detail that I might be overlooking?
Thank you in advance for your support. xcp on can, simulink, f2838x, c2000, externalmode MATLAB Answers — New Questions
how to debug s functions in Matlab
how to debug an s function ,wrapper code and a mex filehow to debug an s function ,wrapper code and a mex file how to debug an s function ,wrapper code and a mex file debug s function MATLAB Answers — New Questions
impossible to launch matlab 2025b
I have installed the R2025b release but when I launch the programm it doesn’t strat.
I have only a white screen with matlab logo but nothing more.
I’ve tried to reinstall the program but nothing happen.
I have the R2023B version and it works very well
Thanks
SergioI have installed the R2025b release but when I launch the programm it doesn’t strat.
I have only a white screen with matlab logo but nothing more.
I’ve tried to reinstall the program but nothing happen.
I have the R2023B version and it works very well
Thanks
Sergio I have installed the R2025b release but when I launch the programm it doesn’t strat.
I have only a white screen with matlab logo but nothing more.
I’ve tried to reinstall the program but nothing happen.
I have the R2023B version and it works very well
Thanks
Sergio launch issue MATLAB Answers — New Questions
Accelerating our commercial growth
Satya Nadella, Chairman and CEO, shared the below communication with Microsoft employees this morning.
We are in the midst of a tectonic AI platform shift, one that requires us to both manage and grow our at-scale commercial business today, while building the new frontier and executing flawlessly across both.
History shows that general purpose technologies like AI drive step changes in productivity and GDP growth, and we have a unique opportunity to help our customers and the world realize this promise.
Our success depends on enabling commercial and public sector customers and partners to combine their human capital with new AI capabilities to change the frontier of how they operate. To accelerate this, we will increasingly need to bring together sales, marketing, operations, and engineering to drive growth and strengthen our position as the partner of choice for AI transformation.
With this context, I have asked Judson Althoff to take on an expanded role as CEO of our commercial business. Over the past nine years, Judson has led our global sales organization and was the architect behind designing and building Microsoft Customer and Partner Solutions (MCAPS) into what it is today: the “number one seed” in the industry and our company’s most important growth engine.
Takeshi Numoto and his marketing team will join this new organization, with Takeshi reporting directly to Judson as CMO, while also continuing to report directly to me on all-up business models, planning, consumer marketing, and corporate brand and communications.
Our operations organization will also move to report to Judson. By bringing operations into the commercial business, we can tighten the feedback loop between what customers need and how we deliver and support them. Carolina Dybeck Happe will continue to report to me, as she works on our overall company transformation and continues to closely partner with Judson.
Additionally, Judson will lead a new commercial leadership team that brings together leaders from engineering, sales, marketing, operations, and finance to drive our product strategy and governance, GTM readiness, and sales motions with shared accountability for the rigor and executional excellence our customers expect.
This will also allow our engineering leaders and me to be laser focused on our highest ambition technical work—across our datacenter buildout, systems architecture, AI science, and product innovation—to lead with intensity and pace in this generational platform shift. Each one of us needs to be at our very best in terms of rapidly learning new skills, adopting new ways to work, and staying close to the metal to drive innovation across the entire stack!!
This isn’t just evolution, it’s reinvention, for each of us professionally and for Microsoft.
Satya
The post Accelerating our commercial growth appeared first on The Official Microsoft Blog.
Satya Nadella, Chairman and CEO, shared the below communication with Microsoft employees this morning. We are in the midst of a tectonic AI platform shift, one that requires us to both manage and grow our at-scale commercial business today, while building the new frontier and executing flawlessly across both. History shows that general purpose technologies…
The post Accelerating our commercial growth appeared first on The Official Microsoft Blog.Read More
How do l increase the process gain by a factor of 10 and the time constant by a factor of 10
l simulated the response of my transfer function as shown on the attached image. Now l need to increase the process gain by a factor of 10 and the time constant by a factor of 10. How do l do it?l simulated the response of my transfer function as shown on the attached image. Now l need to increase the process gain by a factor of 10 and the time constant by a factor of 10. How do l do it? l simulated the response of my transfer function as shown on the attached image. Now l need to increase the process gain by a factor of 10 and the time constant by a factor of 10. How do l do it? proportional gain, time constant MATLAB Answers — New Questions
Adaptive PID Controller For DC Motor Speed Control
I am developing a program to control the speed of a DC motor using an adaptive PID controller. As I am just getting started with this type of control, I would greatly appreciate it if anyone could share code, algorithms for simulation, or practical implementation examples of such a controller for my referenceI am developing a program to control the speed of a DC motor using an adaptive PID controller. As I am just getting started with this type of control, I would greatly appreciate it if anyone could share code, algorithms for simulation, or practical implementation examples of such a controller for my reference I am developing a program to control the speed of a DC motor using an adaptive PID controller. As I am just getting started with this type of control, I would greatly appreciate it if anyone could share code, algorithms for simulation, or practical implementation examples of such a controller for my reference adaptive pid controller, matlab, simulink, dc motor MATLAB Answers — New Questions
MATLAB 2025a new fonts. How do I use them.
While poking around in the Preferences:Appearance:Fonts, I found some fonts I hadn’t seen in MATLAB before. For example the font "A.C.M.E. Secret Agent". What are these? Can I used them? How do I use them? Where are they?While poking around in the Preferences:Appearance:Fonts, I found some fonts I hadn’t seen in MATLAB before. For example the font "A.C.M.E. Secret Agent". What are these? Can I used them? How do I use them? Where are they? While poking around in the Preferences:Appearance:Fonts, I found some fonts I hadn’t seen in MATLAB before. For example the font "A.C.M.E. Secret Agent". What are these? Can I used them? How do I use them? Where are they? fonts MATLAB Answers — New Questions
How to save a mixed data (strings and integers) from workspace into a matlab data file?
Hello,
I want to save information processed from a large group of data into a matlab data file. For example:
a = 1253, b = 5869, c = 3569
char1 = "gyiuh"
column1 column2
value1 value1
value2 value2
value3 value3
.
.
.
N N
The savefile has both individual variables and tabulated data too. How can such a combination be saved in a single file so that they can be later retrieved for further processing? Thank you.Hello,
I want to save information processed from a large group of data into a matlab data file. For example:
a = 1253, b = 5869, c = 3569
char1 = "gyiuh"
column1 column2
value1 value1
value2 value2
value3 value3
.
.
.
N N
The savefile has both individual variables and tabulated data too. How can such a combination be saved in a single file so that they can be later retrieved for further processing? Thank you. Hello,
I want to save information processed from a large group of data into a matlab data file. For example:
a = 1253, b = 5869, c = 3569
char1 = "gyiuh"
column1 column2
value1 value1
value2 value2
value3 value3
.
.
.
N N
The savefile has both individual variables and tabulated data too. How can such a combination be saved in a single file so that they can be later retrieved for further processing? Thank you. data, processing, table, save MATLAB Answers — New Questions
Office 365 for IT Pros October 2025 Update
Monthly Update #124 for Office 365 for IT Pros Available for Download

The Office 365 for IT Pros team is delighted to announce the availability of the October 2025 update for Office 365 for IT Pros (2026 edition). This is monthly update #124. Current subscribers can download the updated EPUB and PDF files from their Gumroad.com account or by using the View content link in their receipt. See our FAQ for more information about how to download updates.
We’ve also updated the Automating Microsoft 365 with PowerShell eBook, which is now at version 16.4. The updated PowerShell EPUB and PDF files are available at the same location as the Office 365 for IT Pros book files. The paperback version of Automating Microsoft 365 with PowerShell has also been updated and is available on a print-on-demand basis from Amazon.
October Updates and the AI Effect
As usual, a bunch of changes are spread across the book chapters, details of which are in our change log. One thing that’s becoming increasingly notable is the growing percentage of Microsoft 365 message center notifications that relate to AI instead of updates to workloads like Exchange Online, SharePoint Online, and Teams.
It’s easy to understand why this is so. First, many of the Microsoft 365 workloads are very mature and already feature-rich, so less opportunity exists to add new functionality. Second, Microsoft’s development attention is obviously focused on adding as much AI-driven features to applications as possible to encourage customers to buy Microsoft 365 Copilot licenses.
The focus on AI gives us a challenge in deciding how much attention we should pay to Copilot features. We know that many Microsoft 365 tenants don’t use Copilot because the licenses are too expensive, they’ve chosen a different solution (like ChatGPT), or simply don’t see the value of AI in their environment at this point. While adding more Copilot content to the book might delight some tenants, it reduces the value of the book to other tenants.
Our current approach is to include Copilot content where it matters to tenant administration. An example is the configuration of the DLP policy to prevent Copilot Chat including content from sensitive documents in its responses. On the other hand, Copilot features that are user-centric in apps, like the facilitator agent in Teams, are usually not covered in the book. There are many of these features spread across Office and other apps. In addition, the features are in a period of rapid evolution, so documenting their use would occupy lots of time that could otherwise be used to cover topics of more general interest.
As AI becomes more embedded in administration (the initial skills available in Copilot for SharePoint Admin are a poor example of what will increasingly happen), we’ll probably change our guidelines, but that’s our current thinking.
Fixing the PDF Stamping Problem
As many of our subscribers know, Gumroad has struggled to fix a bug in the routine that stamps subscriber email addresses on our PDF files. The symptom is that the PDF is unavailable for download because it is “being prepared.” This doesn’t happen for all PDF downloads, but it happened enough to be a royal pain. Subscribers affected by the problem had to contact us, and the only workaround we had was to reissue the receipt. This action kicked off the PDF stamping routine and most of the time, it was enough to make the PDF available.
The good news is that we think Gumroad has fixed the problem by rewriting the PDF stamping routine. Every month in the recent past we have dealt with several subscribers who hit the problem. We’ll soon know if the Gumroad fix is effective. Fingers and toes are firmly crossed.
On to November 2025
As usual, we have started work on next month’s update (#125). Given that the Ignite conference is in the second half of November, there might be fewer changes to process. Then again, there’s always change in Microsoft 365, so we expect to be busy.
how to time shift a set of data?
I have a plot of 12 cell voltages like this. There is also current here as yyaxis right, but ignore that. I forgot to remove the current, its not needed.
As you can see its unbalanced, 11 values are similar and 12th is off. The idea to solve this to time shift the 11 values to a common starting point. So make all values start from 3.6.
you can see the black lines i drew. I am trying to plot just those values. But the issue is when reduce the 11 cells starting from 3.6 then the size of those 11 values is different from the 12th value. The 12th cell size would be larger and i cant have that, because this is a 2d array and all the columns should be of same size. So i extrapolate using time of the 12th cell and time of other 11 cells, then i get value of 11 cells to have many 3.6V. The plot will be like this.
The extrapolate function i wrote is this:
11CellVoltExtrapolated = interp1(11CellsTime,11CellVolt,Timeof12thCell,’linear’, ‘extrap’);
So this is the problem. Also I cannot have nan values, because i need this array for other functions which cannot have nan values. How can i do this. Thank you.I have a plot of 12 cell voltages like this. There is also current here as yyaxis right, but ignore that. I forgot to remove the current, its not needed.
As you can see its unbalanced, 11 values are similar and 12th is off. The idea to solve this to time shift the 11 values to a common starting point. So make all values start from 3.6.
you can see the black lines i drew. I am trying to plot just those values. But the issue is when reduce the 11 cells starting from 3.6 then the size of those 11 values is different from the 12th value. The 12th cell size would be larger and i cant have that, because this is a 2d array and all the columns should be of same size. So i extrapolate using time of the 12th cell and time of other 11 cells, then i get value of 11 cells to have many 3.6V. The plot will be like this.
The extrapolate function i wrote is this:
11CellVoltExtrapolated = interp1(11CellsTime,11CellVolt,Timeof12thCell,’linear’, ‘extrap’);
So this is the problem. Also I cannot have nan values, because i need this array for other functions which cannot have nan values. How can i do this. Thank you. I have a plot of 12 cell voltages like this. There is also current here as yyaxis right, but ignore that. I forgot to remove the current, its not needed.
As you can see its unbalanced, 11 values are similar and 12th is off. The idea to solve this to time shift the 11 values to a common starting point. So make all values start from 3.6.
you can see the black lines i drew. I am trying to plot just those values. But the issue is when reduce the 11 cells starting from 3.6 then the size of those 11 values is different from the 12th value. The 12th cell size would be larger and i cant have that, because this is a 2d array and all the columns should be of same size. So i extrapolate using time of the 12th cell and time of other 11 cells, then i get value of 11 cells to have many 3.6V. The plot will be like this.
The extrapolate function i wrote is this:
11CellVoltExtrapolated = interp1(11CellsTime,11CellVolt,Timeof12thCell,’linear’, ‘extrap’);
So this is the problem. Also I cannot have nan values, because i need this array for other functions which cannot have nan values. How can i do this. Thank you. matlab MATLAB Answers — New Questions
Failed to load ‘xpclib’ library referenced by ‘block_name’
Hello,
I have an old R2011b Simulink model that I tried opening in R2025b. Upon opening the model in R2025b, I see the following:
My "CAN Setup" block in Simulink is highlighted in red and says: "xpclib" not found. The top yellow banner says: "This model contains Simulink Real-Time features that are incompatible with the current release. Open Upgrade Advisor and select "Check model for upgradable Simulink Real-Time features". Upon running the Upgrade Advisor, I get the following error:
Error occurred during model compile.
Failed to load library ‘xpclib’ referenced by ‘CAN Setup’.
Any idea on how to solve this particular problem? My understanding is that ‘xpclib’ (xPC Target) no longer exists in R2025b because it was replaced by Simulink Real-Time. I just don’t know how to convert my block to the newer library.
Thank you!Hello,
I have an old R2011b Simulink model that I tried opening in R2025b. Upon opening the model in R2025b, I see the following:
My "CAN Setup" block in Simulink is highlighted in red and says: "xpclib" not found. The top yellow banner says: "This model contains Simulink Real-Time features that are incompatible with the current release. Open Upgrade Advisor and select "Check model for upgradable Simulink Real-Time features". Upon running the Upgrade Advisor, I get the following error:
Error occurred during model compile.
Failed to load library ‘xpclib’ referenced by ‘CAN Setup’.
Any idea on how to solve this particular problem? My understanding is that ‘xpclib’ (xPC Target) no longer exists in R2025b because it was replaced by Simulink Real-Time. I just don’t know how to convert my block to the newer library.
Thank you! Hello,
I have an old R2011b Simulink model that I tried opening in R2025b. Upon opening the model in R2025b, I see the following:
My "CAN Setup" block in Simulink is highlighted in red and says: "xpclib" not found. The top yellow banner says: "This model contains Simulink Real-Time features that are incompatible with the current release. Open Upgrade Advisor and select "Check model for upgradable Simulink Real-Time features". Upon running the Upgrade Advisor, I get the following error:
Error occurred during model compile.
Failed to load library ‘xpclib’ referenced by ‘CAN Setup’.
Any idea on how to solve this particular problem? My understanding is that ‘xpclib’ (xPC Target) no longer exists in R2025b because it was replaced by Simulink Real-Time. I just don’t know how to convert my block to the newer library.
Thank you! xpc target, simulink real-time, conversion MATLAB Answers — New Questions
January 2026 Change for How Outlook Extracts Events from Email
Events from Email Only Extracted When Schema is Correct
The announcement in MC1158908 (24 September 2025) that the Outlook feature that creates events from email is going to insist that event providers must use schema.org templates to format event information from 31 January 2026 is not unexpected. Something had to change because the current implementation doesn’t work in many situations. Some events turn up in calendars, but many do not. Something had to change to restore consistency and dependability to the feature.
The Root of the Problem
Microsoft is not the root of the problem. My personal experience is that providers are radically inconsistent with respect to the information that they include about events like airline reservations and car hire bookings. The problem has become worse recently, possibly because providers treat notification emails as an extension of their corporate branding program and therefore include a bunch of information that makes the emails prettier without making sure that the essential properties for an event are available.
Microsoft says that the current method used to extract event information from email is fragile and often fails. This leads to user dissatisfaction and many support calls. Microsoft believes that their current implementation cannot be enhanced to deal with the many different ways that event providers publish information about events. They want event providers to use a standard method, and that’s where we are heading.
The Outlook Solution for Events from Email
Schema.org is an industry consortium that publishes a reference website for structured information. According to Wikipedia, the main objective of Schema.org is to standardize HTML tags that can be used to create rich results. The solution that Outlook will introduce is to insist that the HTML information about events contained in email generated by providers like airlines, car hire firms, and so on use an appropriate schema template.
For example, the flight reservation schema defines properties like provider (the airline) and reservationId (the six-character reservation identifier assigned by the airline) together with other properties like programMembershipUsed (airline frequent flyer identifier). Populating these properties properly allows Outlook to extract the details of a flight and create a calendar event with that information. Figure 1 shows an event created from details sent by Ryanair in a flight reservation email.

Up to Event Providers to Change
Apart from deciding if they want to configure the settings to instruct Outlook how to extract events from email using either OWA or the new Outlook (but not Outlook classic or Outlook mobile), users don’t have any control over event processing. A background assistant performs the processing to check inbound email and extract event details if present. It is the background assistant that will change from January 31, 2026, and refuse to process events unless the emails containing event information comply with a Schema.org template.
Whether event providers update their email to comply with the change is entirely in their hands. I’m sure that Microsoft will do some outreach with major event providers to ask those companies to support the change and they have an email address (txppro@microsoft.com) for providers who need help to upgrade to support schema.org. However, the nature of this kind of transition is that it might take some time (or even a long time) for a provider to upgrade their systems to generate event notifications in the right format.
Microsoft suggests that customers work with event providers that they use to ask those companies to comply. I guess it might be possible for a customer to ask their major suppliers (like a preferred airline) to support the change, but again, don’t expect a change to happen overnight.
Some Disruption Likely
Given the dependency on event providers to come on board and support the new way to publish event notifications, some disruption is likely to occur, and users might find that events that previously appeared automatically in their calendar no longer show up. That’s regrettable but moving to a consistent approach is a good idea and will benefit everyone in the long run. At least, that’s the plan.
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!
Desktop panels can no longer be tabbed? (2025x)
I recently made the switch from 2024b to 2025b. I have always run with the ‘Workspace’ and ‘Files’ panels tabbed together. It appears that this is no longer possible. Am I missing something? Dragging one panel over the other just swaps places. Seems like a step backwards to remove this functionality while trumpeting better ‘customization’.I recently made the switch from 2024b to 2025b. I have always run with the ‘Workspace’ and ‘Files’ panels tabbed together. It appears that this is no longer possible. Am I missing something? Dragging one panel over the other just swaps places. Seems like a step backwards to remove this functionality while trumpeting better ‘customization’. I recently made the switch from 2024b to 2025b. I have always run with the ‘Workspace’ and ‘Files’ panels tabbed together. It appears that this is no longer possible. Am I missing something? Dragging one panel over the other just swaps places. Seems like a step backwards to remove this functionality while trumpeting better ‘customization’. desktop layout, panel configuration, ui MATLAB Answers — New Questions
In what way is the new R2021b Editor UI “improved”?
I find the "new and improved" Editor UI in R2021b to be extremely irritating, in no way better than R2021a. How did this get past SQA? Following is a list of miscellaneous nuisances that I’ve run into:
The text search/replace box obscures the top text line in my file, which is a problem if the search text is obscured.
It isn’t obvious how to revert to previous search strings in the search box.
I want to rename a variable in my m-file, and before doing so I want to ensure that the new name, "num_subset", does not already exist in the file. However, there are many occurrences of the substring "num" in my file, and as soon as I start typing in the search box it jumps to the next occurrence of "num" before I’ve finished typing. So now I have to go back and find the place where I was working.
In an auto-indented code section such as a while … end block, if you insert more than one consecutive blank line in the code the auto-indenting is lost on all but one of the blank lines.
In an auto-indented block of code, if you put the cursor between two characters and press ENTER, the Editor will put in a line break with the new line indented, as expected. However, if you select (click-and-drag over) a character and press ENTER, the Editor will delete the character and replace it with a line break, as expected, but the new line will not be auto-indented.
After doing a text search you can do subsequent searches for the same text string using F3 without re-opening the search box. However, if you switch to another file (in the tabbed Editor window) F3 does not work; you have to re-open the search box. It worked in R2021a.
The search always wraps, but I usually don’t want it to wrap. There appears to be no way to disable wrapping. In R2020a the search box had an option for enabling/disabling wrapping.
The behavior of Smart Indent has changed in 2020b. In 2020a all lines in a code block would be auto-indented. In 2020b the indenting of all blank lines is removed. So if you start typing in a blank line you have to either manually put in leading tabs or re-select Smart Indent.I find the "new and improved" Editor UI in R2021b to be extremely irritating, in no way better than R2021a. How did this get past SQA? Following is a list of miscellaneous nuisances that I’ve run into:
The text search/replace box obscures the top text line in my file, which is a problem if the search text is obscured.
It isn’t obvious how to revert to previous search strings in the search box.
I want to rename a variable in my m-file, and before doing so I want to ensure that the new name, "num_subset", does not already exist in the file. However, there are many occurrences of the substring "num" in my file, and as soon as I start typing in the search box it jumps to the next occurrence of "num" before I’ve finished typing. So now I have to go back and find the place where I was working.
In an auto-indented code section such as a while … end block, if you insert more than one consecutive blank line in the code the auto-indenting is lost on all but one of the blank lines.
In an auto-indented block of code, if you put the cursor between two characters and press ENTER, the Editor will put in a line break with the new line indented, as expected. However, if you select (click-and-drag over) a character and press ENTER, the Editor will delete the character and replace it with a line break, as expected, but the new line will not be auto-indented.
After doing a text search you can do subsequent searches for the same text string using F3 without re-opening the search box. However, if you switch to another file (in the tabbed Editor window) F3 does not work; you have to re-open the search box. It worked in R2021a.
The search always wraps, but I usually don’t want it to wrap. There appears to be no way to disable wrapping. In R2020a the search box had an option for enabling/disabling wrapping.
The behavior of Smart Indent has changed in 2020b. In 2020a all lines in a code block would be auto-indented. In 2020b the indenting of all blank lines is removed. So if you start typing in a blank line you have to either manually put in leading tabs or re-select Smart Indent. I find the "new and improved" Editor UI in R2021b to be extremely irritating, in no way better than R2021a. How did this get past SQA? Following is a list of miscellaneous nuisances that I’ve run into:
The text search/replace box obscures the top text line in my file, which is a problem if the search text is obscured.
It isn’t obvious how to revert to previous search strings in the search box.
I want to rename a variable in my m-file, and before doing so I want to ensure that the new name, "num_subset", does not already exist in the file. However, there are many occurrences of the substring "num" in my file, and as soon as I start typing in the search box it jumps to the next occurrence of "num" before I’ve finished typing. So now I have to go back and find the place where I was working.
In an auto-indented code section such as a while … end block, if you insert more than one consecutive blank line in the code the auto-indenting is lost on all but one of the blank lines.
In an auto-indented block of code, if you put the cursor between two characters and press ENTER, the Editor will put in a line break with the new line indented, as expected. However, if you select (click-and-drag over) a character and press ENTER, the Editor will delete the character and replace it with a line break, as expected, but the new line will not be auto-indented.
After doing a text search you can do subsequent searches for the same text string using F3 without re-opening the search box. However, if you switch to another file (in the tabbed Editor window) F3 does not work; you have to re-open the search box. It worked in R2021a.
The search always wraps, but I usually don’t want it to wrap. There appears to be no way to disable wrapping. In R2020a the search box had an option for enabling/disabling wrapping.
The behavior of Smart Indent has changed in 2020b. In 2020a all lines in a code block would be auto-indented. In 2020b the indenting of all blank lines is removed. So if you start typing in a blank line you have to either manually put in leading tabs or re-select Smart Indent. r2021b, editor MATLAB Answers — New Questions
Where is the algebraic loop coming from?
Dear all,
I faced an issue with algebraic loop in simulink (see the model attached).
When I update the model it says "Algebraic loop error", even though there seem to be no algebraic loop at all.
The issue is resolved if I combine these two subsystems into a one.
Could you please explain where the algebraic loop is coming from?
Thank you!Dear all,
I faced an issue with algebraic loop in simulink (see the model attached).
When I update the model it says "Algebraic loop error", even though there seem to be no algebraic loop at all.
The issue is resolved if I combine these two subsystems into a one.
Could you please explain where the algebraic loop is coming from?
Thank you! Dear all,
I faced an issue with algebraic loop in simulink (see the model attached).
When I update the model it says "Algebraic loop error", even though there seem to be no algebraic loop at all.
The issue is resolved if I combine these two subsystems into a one.
Could you please explain where the algebraic loop is coming from?
Thank you! algebraic loop, simulink, model update MATLAB Answers — New Questions
How could i implement a specific torque-rpm engine characteristics?
For my diploma work, i decided to realistically implement a truck driveline, and that includes engine characteristics as well. My first general idea was using the generic engine block, but using tabulated torque data gives me no response, constant 0 torque output. Any help, or better ideas would be much appreciated. I suspect some kind of error in me setting the block itself up, something with the rpms, thresholds? I’ve tried countless variations, but nothing seemed to work.
Thank you all in forward.
CheersFor my diploma work, i decided to realistically implement a truck driveline, and that includes engine characteristics as well. My first general idea was using the generic engine block, but using tabulated torque data gives me no response, constant 0 torque output. Any help, or better ideas would be much appreciated. I suspect some kind of error in me setting the block itself up, something with the rpms, thresholds? I’ve tried countless variations, but nothing seemed to work.
Thank you all in forward.
Cheers For my diploma work, i decided to realistically implement a truck driveline, and that includes engine characteristics as well. My first general idea was using the generic engine block, but using tabulated torque data gives me no response, constant 0 torque output. Any help, or better ideas would be much appreciated. I suspect some kind of error in me setting the block itself up, something with the rpms, thresholds? I’ve tried countless variations, but nothing seemed to work.
Thank you all in forward.
Cheers simscape, driveline, generic engine, piston engine, semi truck engine MATLAB Answers — New Questions