Month: November 2025
effects of ifft2(x, ‘symmetric’) while x is not conjugate symmetric
Hi all,
I understand that ‘symmetric’ in ifft2 assumes data is conjugate symmetric and will output real values, but I want to know how exactly is this done. Specifically:
with ‘symmetric’, will only half of the data be used or still the whole matrix is used, but just output real values?
if x is not conjugate symmetric but I still pass in ‘symmetric’, what will happen?
Thanks in advance.Hi all,
I understand that ‘symmetric’ in ifft2 assumes data is conjugate symmetric and will output real values, but I want to know how exactly is this done. Specifically:
with ‘symmetric’, will only half of the data be used or still the whole matrix is used, but just output real values?
if x is not conjugate symmetric but I still pass in ‘symmetric’, what will happen?
Thanks in advance. Hi all,
I understand that ‘symmetric’ in ifft2 assumes data is conjugate symmetric and will output real values, but I want to know how exactly is this done. Specifically:
with ‘symmetric’, will only half of the data be used or still the whole matrix is used, but just output real values?
if x is not conjugate symmetric but I still pass in ‘symmetric’, what will happen?
Thanks in advance. fft MATLAB Answers — New Questions
How to Check if Shared Mailboxes Need MDO Licenses
Use PowerShell to Check Shared Mailboxes for Microsoft Defender for Office 365 Protection
I’ve spent a lot of time pursuing clarification about the licensing requirements for shared mailboxes when Microsoft Defender for Office 365 (MDO) is active within a Microsoft 365 tenant. Essentially, once a Microsoft 365 or Office 365 E5 license is assigned to a user account, MDO is activated and delivers protection to the mailboxes that come within the scope of its policies. The default is to protect all mailboxes, including shared mailboxes, and every mailbox that “benefits” from MDO protection must be licensed. This is the change Microsoft made to the MDO licensing terms, which originally required MDO licenses for all user and shared mailboxes in the tenant.
User accounts with Office 365 E5 or Microsoft 365 E5 licenses are licensed because both the MDO Plan 1 (identifier f20fedf3-f3c3-43c3-8267-2bfdd51c0939) and the MDO Plan 2 service plan (identifier 8e0c0a52-6a6c-4d40-8370-dd62790dcd70) are included in the set of service plans (apps) covered by these licenses (Figure 1).

Licensing Shared Mailboxes
Shared mailboxes, or rather the disabled Entra ID accounts used to these mailboxes, must be licensed if they receive MDO protection. The tenant doesn’t need to assign licenses to the accounts. All that’s needed is for the tenant to have sufficient MDO licenses (product SKU identifier 3dd6cf57-d688-4eed-ba52-9e40b5468c3e, THREAT_INTELLIGENCE) to cover the licensing requirement (see this page for product identifiers).
To reduce the potential liability for MDO licenses, tenants can exclude shared mailboxes that don’t benefit from MDO protection. For example, organizations often convert user mailboxes to shared mailboxes when people leave (inactive mailboxes are a better option for this purpose), some shared mailboxes are only used for internal communications, and some shared mailboxes are simply not in active use. Shared mailboxes in these categories don’t benefit from the Threat Processing and other Microsoft Defender for Office 365 features, so they don’t need to be licensed.
Use PowerShell to Find Shared Mailboxes That Should be Licensed
One simple test of whether shared mailboxes need MDO licenses is if the mailboxes receive external email. By definition, MDO processes external email as it passes through the transport pipeline, so any message received from a domain that doesn’t belong to the tenant is evidence that a mailbox has received benefit from MDO.
Two methods are available to check for external email. You could check the mailbox for messages from external domains or use Exchange’s message trace logs to analyze the traffic going to shared mailboxes to isolate any external messages. The second method is simpler than the first, so that’s what I used. The limitation is that the data retrieved by the Get-MessageTraceV2 cmdlet only goes back ten days.
An advantage of using message trace logs is that the processing to find shared mailboxes and check each mailbox can be done with the Exchange Online management module, providing that the signed-in user holds the Exchange administrator role. Things get more complicated when the script needs to check if the accounts are licensed for MDO. And it’s even more complicated if you want to run the script as a scheduled Azure Automation task or allow accounts that aren’t Exchange administrators to run the script.
License checking is easily done using the Microsoft Graph PowerShell SDK. The SDK also has all the necessary cmdlets to create and send email with the processing results. Making it possible for non-privileged accounts to run the script means using an app to authenticate against both the Graph and Exchange Online so that the code can run in app-only mode. Apart from that, the app must have the Exchange.ManageAsApp permission to manage Exchange as an app and its service principal must be added to the Exchange administrator role.
The full set of application permissions that must be assigned to the app is:
- Microsoft Graph: User.Read.All (fetch license information for accounts), Mail,Send (send email), and Domain.Read.All (read domain information to find default domain for the tenant).
- Office 365 Exchange Online: Exchange.ManageAsApp
If you want, the script can be easily converted to run as an Azure Automation runbook or using delegated permissions (in which case the signed in account must be an Exchange administrator).
The output is a report listing the set of shared mailboxes that do not have MDO licenses that have received external email over the last ten days (Figure 2).

You can download the script from the Office 365 for IT Pros GitHub repository.
Don’t Overspend on Microsoft Defender for Office 365 Licenses
Some Microsoft 365 tenants have thousands of shared mailboxes. Although E3 is still the norm for many organizations, an increased number of tenants are moving to use E5 licenses and therefore use Microsoft Defender for Office 365. It’s important to keep an eye on the potential MDO licensing liability and only license the mailboxes that receive benefit from MDO. Hopefully, this script helps.
Need help to write and manage PowerShell scripts for Microsoft 365, including Azure Automation runbooks? Get a copy of the Automating Microsoft 365 with PowerShell eBook, available standalone or as part of the Office 365 for IT Pros eBook bundle.
How to find rates of return to baseline after peaks, in temperature data over long timecourse?
Hello all, new MatLab user here, find the tutorials and documentation very useful so far! I am trying to evaluate the performance of a freezer in my lab. I wish to know the rate at which it cools back down to its setpoint after a spike in temperature. I want to be able to determine these rates for events over two years
I’ve been able to import the data into matlab as a table with the datetime and temperature, and then use the "find local extrema" task to identify the peaks. But I am now stuck on how I can find the rates of change after these peaks in an automated fashion. I also converted the data into timetables and tried doing this in the Signal Analyzer app. Would anyone be able to point me in the right direction?
I’ve included a plot to provide an idea of the data I’m working with. This plot has ~250,000 data pointsHello all, new MatLab user here, find the tutorials and documentation very useful so far! I am trying to evaluate the performance of a freezer in my lab. I wish to know the rate at which it cools back down to its setpoint after a spike in temperature. I want to be able to determine these rates for events over two years
I’ve been able to import the data into matlab as a table with the datetime and temperature, and then use the "find local extrema" task to identify the peaks. But I am now stuck on how I can find the rates of change after these peaks in an automated fashion. I also converted the data into timetables and tried doing this in the Signal Analyzer app. Would anyone be able to point me in the right direction?
I’ve included a plot to provide an idea of the data I’m working with. This plot has ~250,000 data points Hello all, new MatLab user here, find the tutorials and documentation very useful so far! I am trying to evaluate the performance of a freezer in my lab. I wish to know the rate at which it cools back down to its setpoint after a spike in temperature. I want to be able to determine these rates for events over two years
I’ve been able to import the data into matlab as a table with the datetime and temperature, and then use the "find local extrema" task to identify the peaks. But I am now stuck on how I can find the rates of change after these peaks in an automated fashion. I also converted the data into timetables and tried doing this in the Signal Analyzer app. Would anyone be able to point me in the right direction?
I’ve included a plot to provide an idea of the data I’m working with. This plot has ~250,000 data points curve fitting, signal processing, help MATLAB Answers — New Questions
Does MATLAB have functions to generate, manipulate and visualize HEALPix (Hierarchical Equal Area isoLatitude Pixelization) data?
I would like to use MATLAB to work with and visualize HEALPix data (described in the HEALPix landing page).
Does MATLAB have any functions that can handle such data?I would like to use MATLAB to work with and visualize HEALPix data (described in the HEALPix landing page).
Does MATLAB have any functions that can handle such data? I would like to use MATLAB to work with and visualize HEALPix data (described in the HEALPix landing page).
Does MATLAB have any functions that can handle such data? healpix, equal, area, map, grid, pixel MATLAB Answers — New Questions
[Simscape] Create a new two-phase fluid as a combination of two existing fluid types
Hi everyone,
I’m trying to run a test with R-513a, which doesn’t currently exist on the 2P fluid properties block, however, the two fluids which it is a mixture of R-1234yf and R-134a do. Is there a way to leverage the twoPhaseFluidTables function to add this particular refrigerant to simscape for testing?Hi everyone,
I’m trying to run a test with R-513a, which doesn’t currently exist on the 2P fluid properties block, however, the two fluids which it is a mixture of R-1234yf and R-134a do. Is there a way to leverage the twoPhaseFluidTables function to add this particular refrigerant to simscape for testing? Hi everyone,
I’m trying to run a test with R-513a, which doesn’t currently exist on the 2P fluid properties block, however, the two fluids which it is a mixture of R-1234yf and R-134a do. Is there a way to leverage the twoPhaseFluidTables function to add this particular refrigerant to simscape for testing? simscape, fluids, refrigeration, simulink MATLAB Answers — New Questions
Is There a Way to Create a Sequence of Polar Plots in a Tiled Layout Using arrayfun with an Anonymous Function?
Sample data
s.th = pi/4:pi/4:2*pi;
s.r = [19 6 12 18 16 11 15 15];
s(2) = s(1); s(2).th = s(2).th*1.3;
If I want to make two plots in a tiled layout with Axes I can do this
figure
t = tiledlayout(1,2);
arrayfun(@(s) scatter(nexttile,s.th,s.r),s)
However, if I want to make polar scatter plots
figure
t = tiledlayout(1,2);
try
arrayfun(@(s) polarscatter(nexttile,s.th,s.r),s)
catch ME
ME.message
end
Right. nextile does not return a PolarAxes object.
But there doesn’t seem to be a way to force nexttile to create a PolarAxes nor can I find a function like a hypothetical nextpolar to use as the first argument to polarscatter.
Instead, as best I can tell a loop is required
figure
t = tiledlayout(1,2);
for ii = 1:2
h1 = nexttile;
polarscatter(s(ii).th,s(ii).r)
end
What’s interesting here is that nexttile creates an Axes and then deep in the bowels of polarscatter a PolarAxes is created based on some properties of that Axes, and then Axes is deleted
h1
Is there a way to create a sequence of polar plots in a tiled layout using arrayfun with an anonymous function?Sample data
s.th = pi/4:pi/4:2*pi;
s.r = [19 6 12 18 16 11 15 15];
s(2) = s(1); s(2).th = s(2).th*1.3;
If I want to make two plots in a tiled layout with Axes I can do this
figure
t = tiledlayout(1,2);
arrayfun(@(s) scatter(nexttile,s.th,s.r),s)
However, if I want to make polar scatter plots
figure
t = tiledlayout(1,2);
try
arrayfun(@(s) polarscatter(nexttile,s.th,s.r),s)
catch ME
ME.message
end
Right. nextile does not return a PolarAxes object.
But there doesn’t seem to be a way to force nexttile to create a PolarAxes nor can I find a function like a hypothetical nextpolar to use as the first argument to polarscatter.
Instead, as best I can tell a loop is required
figure
t = tiledlayout(1,2);
for ii = 1:2
h1 = nexttile;
polarscatter(s(ii).th,s(ii).r)
end
What’s interesting here is that nexttile creates an Axes and then deep in the bowels of polarscatter a PolarAxes is created based on some properties of that Axes, and then Axes is deleted
h1
Is there a way to create a sequence of polar plots in a tiled layout using arrayfun with an anonymous function? Sample data
s.th = pi/4:pi/4:2*pi;
s.r = [19 6 12 18 16 11 15 15];
s(2) = s(1); s(2).th = s(2).th*1.3;
If I want to make two plots in a tiled layout with Axes I can do this
figure
t = tiledlayout(1,2);
arrayfun(@(s) scatter(nexttile,s.th,s.r),s)
However, if I want to make polar scatter plots
figure
t = tiledlayout(1,2);
try
arrayfun(@(s) polarscatter(nexttile,s.th,s.r),s)
catch ME
ME.message
end
Right. nextile does not return a PolarAxes object.
But there doesn’t seem to be a way to force nexttile to create a PolarAxes nor can I find a function like a hypothetical nextpolar to use as the first argument to polarscatter.
Instead, as best I can tell a loop is required
figure
t = tiledlayout(1,2);
for ii = 1:2
h1 = nexttile;
polarscatter(s(ii).th,s(ii).r)
end
What’s interesting here is that nexttile creates an Axes and then deep in the bowels of polarscatter a PolarAxes is created based on some properties of that Axes, and then Axes is deleted
h1
Is there a way to create a sequence of polar plots in a tiled layout using arrayfun with an anonymous function? polar plot, arrayfun, tiled layout MATLAB Answers — New Questions
Incompatible array sizes error in hppcTest
Hello team,
I am using the Simscape battery toolbox to estimate ECM Parameters from HPPC test data following the similar example provided.
When I load my hppc data, and run hppcTest, I get the error Arrays have incompatible sizes for this operation.
The data has many pulses. However, when I choose only data for 1 pulse, it works fine.
Here is my code snippet –
“`
% Load the CSV file
data = readtable(‘240419_1C_Disharge_HPPC_25.csv’);
% Create simple table with renamed columns
hppcData = table(data.Ch7_Time_Second_, data.Ch7_Voltage_V_, data.Ch7_Current_A_, …
‘VariableNames’, {‘Time’, ‘Voltage’, ‘Current’});
% Display to verify
disp(‘Table created:’);
disp(head(hppcData));
disp(‘Size of table:’);
disp(size(hppcData));
% Create hppcTest object
hppcExp25degC = hppcTest(hppcData, …
‘TimeVariable’, ‘Time’, …
‘VoltageVariable’, ‘Voltage’, …
‘CurrentVariable’, ‘Current’, …
‘Capacity’, 50, …
‘InitialSOC’, 1.0);
“`Hello team,
I am using the Simscape battery toolbox to estimate ECM Parameters from HPPC test data following the similar example provided.
When I load my hppc data, and run hppcTest, I get the error Arrays have incompatible sizes for this operation.
The data has many pulses. However, when I choose only data for 1 pulse, it works fine.
Here is my code snippet –
“`
% Load the CSV file
data = readtable(‘240419_1C_Disharge_HPPC_25.csv’);
% Create simple table with renamed columns
hppcData = table(data.Ch7_Time_Second_, data.Ch7_Voltage_V_, data.Ch7_Current_A_, …
‘VariableNames’, {‘Time’, ‘Voltage’, ‘Current’});
% Display to verify
disp(‘Table created:’);
disp(head(hppcData));
disp(‘Size of table:’);
disp(size(hppcData));
% Create hppcTest object
hppcExp25degC = hppcTest(hppcData, …
‘TimeVariable’, ‘Time’, …
‘VoltageVariable’, ‘Voltage’, …
‘CurrentVariable’, ‘Current’, …
‘Capacity’, 50, …
‘InitialSOC’, 1.0);
“` Hello team,
I am using the Simscape battery toolbox to estimate ECM Parameters from HPPC test data following the similar example provided.
When I load my hppc data, and run hppcTest, I get the error Arrays have incompatible sizes for this operation.
The data has many pulses. However, when I choose only data for 1 pulse, it works fine.
Here is my code snippet –
“`
% Load the CSV file
data = readtable(‘240419_1C_Disharge_HPPC_25.csv’);
% Create simple table with renamed columns
hppcData = table(data.Ch7_Time_Second_, data.Ch7_Voltage_V_, data.Ch7_Current_A_, …
‘VariableNames’, {‘Time’, ‘Voltage’, ‘Current’});
% Display to verify
disp(‘Table created:’);
disp(head(hppcData));
disp(‘Size of table:’);
disp(size(hppcData));
% Create hppcTest object
hppcExp25degC = hppcTest(hppcData, …
‘TimeVariable’, ‘Time’, …
‘VoltageVariable’, ‘Voltage’, …
‘CurrentVariable’, ‘Current’, …
‘Capacity’, 50, …
‘InitialSOC’, 1.0);
“` simscape, hppc, ecm MATLAB Answers — New Questions
Teams Messaging Gains New Protections
Weaponized File Protection and Malicious URL Protection Rolling Out Now
The best thing about a technology conference are the people you meet. Even though I didn’t particularly like the Microsoft Ignite 2025 conference in San Francisco, I met some very interesting people, including Martina, a program manager from the Teams development group. As with many valuable conversations, the chat was brief but information rich.
During the conversation, I was mildly chided that I hadn’t covered two recent features she had worked on to protect Teams. Controls to manage the splendidly named Weaponizable file protection and the Malicious URL protection features are in the Messaging Safety section of the Teams admin center (Figure 1).

By default, both features are disabled during the targeted release phase. When the features reach general availability, the features will be enabled by default and will apply to both internal and federated chats. After enabling protection, it takes a few hours for Teams clients to respect the new setting.
The announcements for the features are in MC1148540 (Weaponizable file protection, updated 17 November 2025, Microsoft 365 roadmap item 499892) and MC1148539 (Malicious URL protection, last updated 17 November 2025, Microsoft 365 roadmap item 499893). General availability for both is due by the end of November 2025.
Weaponizable File Protection
A weaponizable file is one that can be used by attackers. Think of an executable or zip file that could have some malware lurking within. The protection feature automatically blocks users from sharing files of specific types through chats and channel conversations. The list of blocked file types is:
ace, ani, apk, app, appx, arj, bat, cab, cmd, com, deb, dex, dll, docm, elf, exe, hta, img, iso, jar, jnlp, kext, lha, lib, library, lnk, lzh, macho, msc, msi, msix, msp, mst, pif, ppa, ppam, reg, rev, scf, scr, sct, sys, uif, vb, vbe, vbs, vxd, wsc, wsf, wsh, xll, xz, z
Currently, tenants cannot update the list to add or remove blocked file types.
By stopping people sharing suspect files through Teams, the probability of some infectious content finding its way into the tenant is reduced. Protection checks are applied by all Teams clients, including the mobile clients.
The way things work is quite simple. Figure 2 shows several messages in a conversation. The top message occurred before the weaponized file protection took effect, and I was able to send an .msi file to the chat participants. Once the file protection kicked in, Teams began to check the file types (the check happens after the user sends a message) and blocked files. The second message shows what a recipient sees when Teams blocks a message from another participant. The last shows how Teams flags the problem after a user attempts to send a blocked file.

Malicious URL Protection
The second protection checks URLs shared in chats and channel conversations to verify that the links are not potentially harmful. Protection is available in all Teams clients. If Teams detects a problematic link, it displays a warning to
When a malicious link is detected, Teams automatically displays a warning to both the sender and recipient to help reduce the risk of phishing attacks.
I was less successful testing malicious URL protection. According to the documentation, Teams automatically scans URLs included in messages against threat intelligence databases to identify potentially malicious links. I tried with many of the malicious URLs shared on the URLhaus site but didn’t manage to provoke any warnings (Figure 3).

It’s possible that the intelligence databases used by Teams didn’t pick up the URLs I tested because the URLs had just been added to URLhaus, but then I tried posting the example URL shown in MC1148539, and Teams failed to detect a problem with that link too. I’m sure that this is a temporary glitch.
Update Protection Settings with PowerShell
Unlike other messaging settings which are applied through policies assigned to user accounts, the settings to control weaponized file protection and malicious URL protection are controlled through the Teams messaging tenant-wide configuration. This is probably because it doesn’t make sense to protect some users and not others within a single tenant.
To control the settings with PowerShell, run the Set-CsTeamsMessagingConfiguration from the Teams PowerShell module and update the settings for FileTypeCheck (weaponized file protection) and UrlReputationCheck (malicious URL protection). The Get-CsTeamsMessagingConfiguration reports the current settings. For example:
Set-CsTeamsMessagingConfiguration -Identity Global -FileTypeCheck Enabled -UrlReputationCheck Enabled Get-CsTeamsMessagingConfiguration Identity : Global EnableVideoMessageCaptions : True EnableInOrganizationChatControl : True CustomEmojis : True Storyline : Enabled MessagingNotes : Enabled FileTypeCheck : Enabled UrlReputationCheck : Enabled ContentBasedPhishingCheck : Disabled ReportIncorrectSecurityDetections : Disabled
Extra Protection is Goodness
Introducing extra levels of protection within Teams messaging can never be a bad thing. It’s sensible to scan files and URLs shared in messages for problems. No one wants to have malware spread within a tenant by someone sharing a bad file or URL (to up to 50 channels in one action), so these are good changes that all Microsoft 365 tenants should have by early December 2025.
Learn about managing Teams 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.
License Manager Error -114
License checkout failed
License Manager Error -114License checkout failed
License Manager Error -114 License checkout failed
License Manager Error -114 simulink, license MATLAB Answers — New Questions
First value of an array does not display with a decimal
I am trying to print an array which display the values of x y and z on every change of x and z, but the first value os always formated a different way if z is an integer. Here is the awnser I get:
And here is my code:
zp=input(‘Įveskite pradinę z vertę: ‘);
zg=input(‘Įveskite galutinę z vertę: ‘);
hz=input(‘Įveskite z vertės pokytį: ‘);
xp=4;
hx=0.3;
x=xp;
disp(‘ x y z’);
for z=zp:hz:zg
if z>=x
y=sin(x).*cos(x);
else
y=log10(xp).*log(z);
end
disp([x y z]);
x=x+hx;
endI am trying to print an array which display the values of x y and z on every change of x and z, but the first value os always formated a different way if z is an integer. Here is the awnser I get:
And here is my code:
zp=input(‘Įveskite pradinę z vertę: ‘);
zg=input(‘Įveskite galutinę z vertę: ‘);
hz=input(‘Įveskite z vertės pokytį: ‘);
xp=4;
hx=0.3;
x=xp;
disp(‘ x y z’);
for z=zp:hz:zg
if z>=x
y=sin(x).*cos(x);
else
y=log10(xp).*log(z);
end
disp([x y z]);
x=x+hx;
end I am trying to print an array which display the values of x y and z on every change of x and z, but the first value os always formated a different way if z is an integer. Here is the awnser I get:
And here is my code:
zp=input(‘Įveskite pradinę z vertę: ‘);
zg=input(‘Įveskite galutinę z vertę: ‘);
hz=input(‘Įveskite z vertės pokytį: ‘);
xp=4;
hx=0.3;
x=xp;
disp(‘ x y z’);
for z=zp:hz:zg
if z>=x
y=sin(x).*cos(x);
else
y=log10(xp).*log(z);
end
disp([x y z]);
x=x+hx;
end display, format, decimal, array MATLAB Answers — New Questions
Prescribed time disturbance observer does not estimate in prescribed settling time.
Hi, I hope you are feeling well. I have designed a prescribed time disturbance observer based on the idea that was used to design a prescribed time controller. First, I have apllied the controller to a first order and then to a third order system.
*The problem I have is that the disturbance observer does not work in a prescribed time, I change the settling time, but it still works in a fixed settling time that is around 1.5 seconds. I have attached the simulink model here. I really appreciate your help if you can tell me how I can solve the problem.*Hi, I hope you are feeling well. I have designed a prescribed time disturbance observer based on the idea that was used to design a prescribed time controller. First, I have apllied the controller to a first order and then to a third order system.
*The problem I have is that the disturbance observer does not work in a prescribed time, I change the settling time, but it still works in a fixed settling time that is around 1.5 seconds. I have attached the simulink model here. I really appreciate your help if you can tell me how I can solve the problem.* Hi, I hope you are feeling well. I have designed a prescribed time disturbance observer based on the idea that was used to design a prescribed time controller. First, I have apllied the controller to a first order and then to a third order system.
*The problem I have is that the disturbance observer does not work in a prescribed time, I change the settling time, but it still works in a fixed settling time that is around 1.5 seconds. I have attached the simulink model here. I really appreciate your help if you can tell me how I can solve the problem.* control, disturbance observer, prescribed time MATLAB Answers — New Questions
HDF5 Library error
Hi,
I recently moved to matlab 2022a and without touching the code an error arrised. Indeed when trying to create a paraview file (h5), I get the following error. Is it a known issue of the new version ?
Error using hdf5lib2
Unable to open the file because of HDF5 Library error. Reason:Unknown
Error in H5F.open (line 130)
file_id = H5ML.hdf5lib2(‘H5Fopen’, filename, flags, fapl, is_remote);
Error in h5write (line 108)
file_id = H5F.open(Filename,flags,fapl);
Error in xdmf3writer>h5creation (line 85)
h5write(sprintf(‘%s.h5′,filename),’/Geometry’,Grid.geometry’);
Error in xdmf3writer (line 13)
h5creation(filepath,Grid);
Error in save_xdmf (line 33)
xdmf3writer(sprintf(‘%s-%d’,filename,id_model),Grids);
Error in paraview_save (line 49)
save_xdmf(model,result,file_name);Hi,
I recently moved to matlab 2022a and without touching the code an error arrised. Indeed when trying to create a paraview file (h5), I get the following error. Is it a known issue of the new version ?
Error using hdf5lib2
Unable to open the file because of HDF5 Library error. Reason:Unknown
Error in H5F.open (line 130)
file_id = H5ML.hdf5lib2(‘H5Fopen’, filename, flags, fapl, is_remote);
Error in h5write (line 108)
file_id = H5F.open(Filename,flags,fapl);
Error in xdmf3writer>h5creation (line 85)
h5write(sprintf(‘%s.h5′,filename),’/Geometry’,Grid.geometry’);
Error in xdmf3writer (line 13)
h5creation(filepath,Grid);
Error in save_xdmf (line 33)
xdmf3writer(sprintf(‘%s-%d’,filename,id_model),Grids);
Error in paraview_save (line 49)
save_xdmf(model,result,file_name); Hi,
I recently moved to matlab 2022a and without touching the code an error arrised. Indeed when trying to create a paraview file (h5), I get the following error. Is it a known issue of the new version ?
Error using hdf5lib2
Unable to open the file because of HDF5 Library error. Reason:Unknown
Error in H5F.open (line 130)
file_id = H5ML.hdf5lib2(‘H5Fopen’, filename, flags, fapl, is_remote);
Error in h5write (line 108)
file_id = H5F.open(Filename,flags,fapl);
Error in xdmf3writer>h5creation (line 85)
h5write(sprintf(‘%s.h5′,filename),’/Geometry’,Grid.geometry’);
Error in xdmf3writer (line 13)
h5creation(filepath,Grid);
Error in save_xdmf (line 33)
xdmf3writer(sprintf(‘%s-%d’,filename,id_model),Grids);
Error in paraview_save (line 49)
save_xdmf(model,result,file_name); h5 file, paraview export, hdf5lib2, h5f.open MATLAB Answers — New Questions
Change value of stream mass flow in HYSYS using matlab
I want to set the value of stream ‘PFD136’ to flow_136. Seems I have a syntax error. Please helpI want to set the value of stream ‘PFD136’ to flow_136. Seems I have a syntax error. Please help I want to set the value of stream ‘PFD136’ to flow_136. Seems I have a syntax error. Please help hysys, hysysinterface, setvalue MATLAB Answers — New Questions
Help, how to make a buck chopper simulation using SCR only ?
i want to know how to make a buck chopper simulation in MATLAB using only SCR without mosfet/IGBT is it possible ?i want to know how to make a buck chopper simulation in MATLAB using only SCR without mosfet/IGBT is it possible ? i want to know how to make a buck chopper simulation in MATLAB using only SCR without mosfet/IGBT is it possible ? buck, chopper MATLAB Answers — New Questions
How do I contact the authors of the blog “Generative AI + Robotics = Awesome!”
The blog Generative AI + Robotics = Awesome! says "you can reach out to us directly to request trial code access" yet there is no details of whom to contact or how. I feel I may be missing something obvious. Can anybody help me to get in contact with the Authors.The blog Generative AI + Robotics = Awesome! says "you can reach out to us directly to request trial code access" yet there is no details of whom to contact or how. I feel I may be missing something obvious. Can anybody help me to get in contact with the Authors. The blog Generative AI + Robotics = Awesome! says "you can reach out to us directly to request trial code access" yet there is no details of whom to contact or how. I feel I may be missing something obvious. Can anybody help me to get in contact with the Authors. robotics vla blog. MATLAB Answers — New Questions
Simulink Hanging when I try to save a simple model
Version: MATLAB_R2025b
Laptop: Macbook Pro M3 Max
I just started learning to use MATLAB and Simulink. I am on a Macbook pro M3 Max (36GB of RAM, 14 CPU cores). MATLAB is the first program I have had on this laptop to be so slow and unresponsive.
I have found workarounds for many of the problems I faced, but when I try to save a very basic Simulink model (see photo), both MATLAB and Simulink become unresponsive (see photo) and I have to force quit and restart just to be able to do anything. Can I get some help with this?Version: MATLAB_R2025b
Laptop: Macbook Pro M3 Max
I just started learning to use MATLAB and Simulink. I am on a Macbook pro M3 Max (36GB of RAM, 14 CPU cores). MATLAB is the first program I have had on this laptop to be so slow and unresponsive.
I have found workarounds for many of the problems I faced, but when I try to save a very basic Simulink model (see photo), both MATLAB and Simulink become unresponsive (see photo) and I have to force quit and restart just to be able to do anything. Can I get some help with this? Version: MATLAB_R2025b
Laptop: Macbook Pro M3 Max
I just started learning to use MATLAB and Simulink. I am on a Macbook pro M3 Max (36GB of RAM, 14 CPU cores). MATLAB is the first program I have had on this laptop to be so slow and unresponsive.
I have found workarounds for many of the problems I faced, but when I try to save a very basic Simulink model (see photo), both MATLAB and Simulink become unresponsive (see photo) and I have to force quit and restart just to be able to do anything. Can I get some help with this? simulink, save, model MATLAB Answers — New Questions
Add Tooltip to each UI Tree Checkbox in App Designer
In App Desinger I want to add tooltips to each ui tree checkbox, so here each checkbox shall tell the user more of what is done or checked with the check exactly. Example: For "Block Colors" a tooltip might show something like "Checks if each Simulink Block has its dedicated color as defined by the company guidelines". Is there an option, as I can only find to add a tooltip to the parent CheckBoxTree but not each individual checkbox? Thank you.In App Desinger I want to add tooltips to each ui tree checkbox, so here each checkbox shall tell the user more of what is done or checked with the check exactly. Example: For "Block Colors" a tooltip might show something like "Checks if each Simulink Block has its dedicated color as defined by the company guidelines". Is there an option, as I can only find to add a tooltip to the parent CheckBoxTree but not each individual checkbox? Thank you. In App Desinger I want to add tooltips to each ui tree checkbox, so here each checkbox shall tell the user more of what is done or checked with the check exactly. Example: For "Block Colors" a tooltip might show something like "Checks if each Simulink Block has its dedicated color as defined by the company guidelines". Is there an option, as I can only find to add a tooltip to the parent CheckBoxTree but not each individual checkbox? Thank you. appdesigner, matlab gui, checkbox MATLAB Answers — New Questions
Generate Graph Nodes and add buttondown callbacks for interactivity
I’m trying to create a graph that brings up a dialogue box when one of the nodes is clicked. I use
NodeTable = table(‘Size’,[0 4],’VariableTypes’,{‘double’,’string’,’double’,’double’}, …
‘VariableNames’,{‘Code’,’Name’,’Latitude’,’Longitude’});
EdgeTable = table(‘Size’,[0 2],’VariableTypes’,{‘cell’, ‘double’}, …
‘VariableNames’,{‘EndNodes’,’Distance’});
nodetemp = inputdlg(["Node Name", "Latitude", "Longitude"], "Node Details");
%check input present
if isempty(nodetemp)== 0
%check node not present in table
if any(matches(app.NodeTable.Name,nodetemp(1),IgnoreCase=true))==false
%format table and add code in column 1
nodeinp = addvars(cell2table(transpose(nodetemp),’VariableNames’,{‘Name’,’Latitude’,’Longitude’}), app.index, ‘before’, 1,’NewVariableNames’,{‘Code’});
%update graph with node data
app.NodeTable=[app.NodeTable; nodeinp];
app.G=addnode(app.G,nodeinp);
app.map = plot(app.UIAxes,app.G,’NodeLabel’,app.G.Nodes.Name,’EdgeLabel’,app.G.Edges.Distance);%plot graph
%set node coordinates
app.map.XData = str2double(app.NodeTable.Longitude);
app.map.YData = str2double(app.NodeTable.Latitude);
app.index = app.index + 1; %increment node counter
end
end
to create the graph, add nodes and plot it. I then am attempting to use
nodes=findobj(app.map,’Marker’,’o’);
nodesLength = length(nodes);
for count=1:nodesLength
nodes(count).ButtonDownFcn=@(src,event)nodeButtonDown(app,count);
end
to get a hold of the node graphical objects and assign callbacks as advised here but the plot doesn’t seem to generate the nodes as children/separate objects like it says in all the documentation. The nodes variable just becomes a copy of the graphplot object. You’ll notice I’m using the app designer.I’m trying to create a graph that brings up a dialogue box when one of the nodes is clicked. I use
NodeTable = table(‘Size’,[0 4],’VariableTypes’,{‘double’,’string’,’double’,’double’}, …
‘VariableNames’,{‘Code’,’Name’,’Latitude’,’Longitude’});
EdgeTable = table(‘Size’,[0 2],’VariableTypes’,{‘cell’, ‘double’}, …
‘VariableNames’,{‘EndNodes’,’Distance’});
nodetemp = inputdlg(["Node Name", "Latitude", "Longitude"], "Node Details");
%check input present
if isempty(nodetemp)== 0
%check node not present in table
if any(matches(app.NodeTable.Name,nodetemp(1),IgnoreCase=true))==false
%format table and add code in column 1
nodeinp = addvars(cell2table(transpose(nodetemp),’VariableNames’,{‘Name’,’Latitude’,’Longitude’}), app.index, ‘before’, 1,’NewVariableNames’,{‘Code’});
%update graph with node data
app.NodeTable=[app.NodeTable; nodeinp];
app.G=addnode(app.G,nodeinp);
app.map = plot(app.UIAxes,app.G,’NodeLabel’,app.G.Nodes.Name,’EdgeLabel’,app.G.Edges.Distance);%plot graph
%set node coordinates
app.map.XData = str2double(app.NodeTable.Longitude);
app.map.YData = str2double(app.NodeTable.Latitude);
app.index = app.index + 1; %increment node counter
end
end
to create the graph, add nodes and plot it. I then am attempting to use
nodes=findobj(app.map,’Marker’,’o’);
nodesLength = length(nodes);
for count=1:nodesLength
nodes(count).ButtonDownFcn=@(src,event)nodeButtonDown(app,count);
end
to get a hold of the node graphical objects and assign callbacks as advised here but the plot doesn’t seem to generate the nodes as children/separate objects like it says in all the documentation. The nodes variable just becomes a copy of the graphplot object. You’ll notice I’m using the app designer. I’m trying to create a graph that brings up a dialogue box when one of the nodes is clicked. I use
NodeTable = table(‘Size’,[0 4],’VariableTypes’,{‘double’,’string’,’double’,’double’}, …
‘VariableNames’,{‘Code’,’Name’,’Latitude’,’Longitude’});
EdgeTable = table(‘Size’,[0 2],’VariableTypes’,{‘cell’, ‘double’}, …
‘VariableNames’,{‘EndNodes’,’Distance’});
nodetemp = inputdlg(["Node Name", "Latitude", "Longitude"], "Node Details");
%check input present
if isempty(nodetemp)== 0
%check node not present in table
if any(matches(app.NodeTable.Name,nodetemp(1),IgnoreCase=true))==false
%format table and add code in column 1
nodeinp = addvars(cell2table(transpose(nodetemp),’VariableNames’,{‘Name’,’Latitude’,’Longitude’}), app.index, ‘before’, 1,’NewVariableNames’,{‘Code’});
%update graph with node data
app.NodeTable=[app.NodeTable; nodeinp];
app.G=addnode(app.G,nodeinp);
app.map = plot(app.UIAxes,app.G,’NodeLabel’,app.G.Nodes.Name,’EdgeLabel’,app.G.Edges.Distance);%plot graph
%set node coordinates
app.map.XData = str2double(app.NodeTable.Longitude);
app.map.YData = str2double(app.NodeTable.Latitude);
app.index = app.index + 1; %increment node counter
end
end
to create the graph, add nodes and plot it. I then am attempting to use
nodes=findobj(app.map,’Marker’,’o’);
nodesLength = length(nodes);
for count=1:nodesLength
nodes(count).ButtonDownFcn=@(src,event)nodeButtonDown(app,count);
end
to get a hold of the node graphical objects and assign callbacks as advised here but the plot doesn’t seem to generate the nodes as children/separate objects like it says in all the documentation. The nodes variable just becomes a copy of the graphplot object. You’ll notice I’m using the app designer. axes, appdesigner, app designer, callback, graph, graphics, plot, plotting, gui, objects, find, nodes, children, interactivity, programmatic, class, assign MATLAB Answers — New Questions
I am unable to make the new vesion of spectrumAnalyzer show distortion measurements.
I have a Matlab script that has worked fine in R2021b and earlier which I still use today. It simply reads my audio on a Macbook Pro running MacOS 12 and presents a spectrum on the analyzer. Moving that script to the new R2025b and modifying the script to call the new spectrum analyzer seems to work to present the spectrum but when I select "Measurements" and "Distortion" the distortion data appears but does not seem to find the main tone and in-turn the harmonics. I am stuck using the old version of Matlab since that works. I think I may be missing a configuration command on the new analyzer that wasn’t required on the old one. The tone below is on CH1 and CH2 identically. CH2 appears in front of CH1.I have a Matlab script that has worked fine in R2021b and earlier which I still use today. It simply reads my audio on a Macbook Pro running MacOS 12 and presents a spectrum on the analyzer. Moving that script to the new R2025b and modifying the script to call the new spectrum analyzer seems to work to present the spectrum but when I select "Measurements" and "Distortion" the distortion data appears but does not seem to find the main tone and in-turn the harmonics. I am stuck using the old version of Matlab since that works. I think I may be missing a configuration command on the new analyzer that wasn’t required on the old one. The tone below is on CH1 and CH2 identically. CH2 appears in front of CH1. I have a Matlab script that has worked fine in R2021b and earlier which I still use today. It simply reads my audio on a Macbook Pro running MacOS 12 and presents a spectrum on the analyzer. Moving that script to the new R2025b and modifying the script to call the new spectrum analyzer seems to work to present the spectrum but when I select "Measurements" and "Distortion" the distortion data appears but does not seem to find the main tone and in-turn the harmonics. I am stuck using the old version of Matlab since that works. I think I may be missing a configuration command on the new analyzer that wasn’t required on the old one. The tone below is on CH1 and CH2 identically. CH2 appears in front of CH1. spectrumanalyzer MATLAB Answers — New Questions
The single function is not behaving as expected
I’m trying to use single to save disk space because my files are very large. I know it could affect the precision if my numbers have many places after the decimal point. However, it is altering my integers as well.
>> single(340580097)
ans =
340580096.00
Is this a bug?I’m trying to use single to save disk space because my files are very large. I know it could affect the precision if my numbers have many places after the decimal point. However, it is altering my integers as well.
>> single(340580097)
ans =
340580096.00
Is this a bug? I’m trying to use single to save disk space because my files are very large. I know it could affect the precision if my numbers have many places after the decimal point. However, it is altering my integers as well.
>> single(340580097)
ans =
340580096.00
Is this a bug? single MATLAB Answers — New Questions









