Month: October 2025
issue with Installing Offline Documentation
when i Installing Offline Documentation on Windows 10 for MATLAB R2023a
on offline machine (not have a network connection)
step 1: mount iso
step 2: run Windows Command Prompt as Administrator
step 3: cd E:binwin64
step 4: .mpm install-doc –matlabroot="C:Program FilesMATLABR2023a"
result: ‘.mpm’ is not recognized as an internal or external command,
operable program or batch file.
please, how to solve this issue with a clear steps because i’m beginner user.when i Installing Offline Documentation on Windows 10 for MATLAB R2023a
on offline machine (not have a network connection)
step 1: mount iso
step 2: run Windows Command Prompt as Administrator
step 3: cd E:binwin64
step 4: .mpm install-doc –matlabroot="C:Program FilesMATLABR2023a"
result: ‘.mpm’ is not recognized as an internal or external command,
operable program or batch file.
please, how to solve this issue with a clear steps because i’m beginner user. when i Installing Offline Documentation on Windows 10 for MATLAB R2023a
on offline machine (not have a network connection)
step 1: mount iso
step 2: run Windows Command Prompt as Administrator
step 3: cd E:binwin64
step 4: .mpm install-doc –matlabroot="C:Program FilesMATLABR2023a"
result: ‘.mpm’ is not recognized as an internal or external command,
operable program or batch file.
please, how to solve this issue with a clear steps because i’m beginner user. install offline documentation, offline documentation, install documentation, documentation, mpm MATLAB Answers — New Questions
How to develop a Closed loop current control for converter
I have developed a Buck-Boost converter to charge a SuperCap from a source, in Buck mode and supply a load in Boost mode, I have created a voltage control loop, to maintain the Voltage level within the limit 2.7V.
I also need to include a current controller for maintaing the current to the reference value, (ex.10A)
I need support/guidance with this part.I have developed a Buck-Boost converter to charge a SuperCap from a source, in Buck mode and supply a load in Boost mode, I have created a voltage control loop, to maintain the Voltage level within the limit 2.7V.
I also need to include a current controller for maintaing the current to the reference value, (ex.10A)
I need support/guidance with this part. I have developed a Buck-Boost converter to charge a SuperCap from a source, in Buck mode and supply a load in Boost mode, I have created a voltage control loop, to maintain the Voltage level within the limit 2.7V.
I also need to include a current controller for maintaing the current to the reference value, (ex.10A)
I need support/guidance with this part. converter current control, closed loop control MATLAB Answers — New Questions
Im not able to find the powergui block with my school license?
I’m not able to find the powergui or specialized systems category even tho I have a license through my college for matlab? How can I fix this? this is what shows up when I click on the simscape library.I’m not able to find the powergui or specialized systems category even tho I have a license through my college for matlab? How can I fix this? this is what shows up when I click on the simscape library. I’m not able to find the powergui or specialized systems category even tho I have a license through my college for matlab? How can I fix this? this is what shows up when I click on the simscape library. powergui MATLAB Answers — New Questions
Updating the Entra ID Password Protection Policy with the Microsoft Graph PowerShell SDK
Use SDK Cmdlets to Create or Update Password Protection Policy Settings
A reader asks if the script written for the article about updating the Entra ID banned password list can be used to update other settings in the Entra ID password protection policy. The answer is “of course.” The code is PowerShell, and it can be adapted to update any of the password protection settings found in the Entra admin center (Figure 1).

A few considerations must be remembered when updating the Entra ID password protection policy:
- You don’t need additional licenses to use the default password protection policy. If you create a custom policy by updating settings, user accounts must be licensed with Entra P1 or P2.
- Custom password policy settings are immediately effective across the entire tenant. You can’t assign a custom password policy to specific users or groups.
- In a hybrid environment, password protection can extend to Active Directory.
Creating a Password Protection Policy
The underlying concepts for creating a custom password policy are similar to the management of other Entra ID policies (like the Microsoft 365 groups policy):
Check if a custom policy exists, or rather, a directory setting object created using the directory setting template for password rules. The template always has the identifier 5cf42378-d67d-4f36-ba46-e8b86229381d, so we can check if a custom password protection policy exists follows:
$Policy = (Get-MgBetaDirectorySetting | Where-Object {$_.TemplateId -eq "5cf42378-d67d-4f36-ba46-e8b86229381d"})A client-side filter is used because the Graph API does not support server-side filtering against template identifiers.
If a password policy object is not available, you can create a new password policy object. The values for the policy settings are in a hash table containing an array of values. Each value (a setting) is a hash table consisting of the setting name and its value. For example, this code creates the hash table to hold the setting for lockout duration:
$Value5 = @{}
$Value5.Add("Name", "LockoutDurationInSeconds")
$Value5.Add("Value", $LockoutDuration -as [int32])
After populating values for all settings (or just the ones that are different from the default), run the New-MgBetaDirectorySetting cmdlet to create the new custom password policy:
$NewBannedListParameters = @{}
$NewBannedListParameters.Add("templateId", "5cf42378-d67d-4f36-ba46-e8b86229381d")
$NewBannedListParameters.Add("values", ($Value1, $Value2, $Value3, $Value4, $Value5, $Value6))
$Policy = New-MgBetaDirectorySetting -BodyParameter $NewBannedListParameters -ErrorAction Stop
Updating the Password Protection Policy
If a custom policy already exists, fetch the policy settings, update the value for the settings that you want to change, and use the Update-MgBetaDirectorySetting cmdlet to update the policy. This example changes the lock out duration time to 120 seconds (the default is 60 seconds):
[array]$PolicyValues = Get-MgBetaDirectorySetting -DirectorySettingId $Policy.Id | Select-Object -ExpandProperty Values
($PolicyValues | Where-Object {$_.Name -eq "LockOutDurationInSeconds"}).Value = 120
Update-MgBetaDirectorySetting -DirectorySettingId $Policy.id -Values $PolicyValues -ErrorAction Stop
The code for these operations is the same as used in the script to update the banned passwords list. Grab what you need from that script and repurpose it to do whatever you need to. For instance, some organizations like to validate that the password policy settings in the tenants that they manage are consistent and up to date. This is easily done on a periodic basis by creating a PowerShell runbook in Azure Automation. I imagine that checking the password policy would only be one of the Entra ID configuration checks that such a runbook would process. At least, that’s how I would do it.
Next Step – Testing Configurations
The Maester utility includes some checks against the password policy and it would be easy to expand test coverage to whatever aspect of the password policy you consider needs to be checked. Once you’ve mastered programmatic manipulation of the Entra ID password protection policy settings, anything is possible.
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!
Is MultiSelect possible with the Checkbox Tree? (App Designer)
The normal tree app component has the MultiSelect property. The checkbox tree (introduced in 2021a), however, has not and, so far, I have not been able to enable the selection of multiple child nodes of the checkbox tree. Is it possible to circumvent this limitation?The normal tree app component has the MultiSelect property. The checkbox tree (introduced in 2021a), however, has not and, so far, I have not been able to enable the selection of multiple child nodes of the checkbox tree. Is it possible to circumvent this limitation? The normal tree app component has the MultiSelect property. The checkbox tree (introduced in 2021a), however, has not and, so far, I have not been able to enable the selection of multiple child nodes of the checkbox tree. Is it possible to circumvent this limitation? app designer, selection, tree, checkbox MATLAB Answers — New Questions
How can I access secrets (MATLAB vault) in web apps?
I am deploying an app to MATLAB Web App Server that uses secrets. Currently, this works in my local MATLAB installation using setSecret and getSecret. How can I use these secrets when deploying this app as a web app on MATLAB Web App Server? I am deploying an app to MATLAB Web App Server that uses secrets. Currently, this works in my local MATLAB installation using setSecret and getSecret. How can I use these secrets when deploying this app as a web app on MATLAB Web App Server? I am deploying an app to MATLAB Web App Server that uses secrets. Currently, this works in my local MATLAB installation using setSecret and getSecret. How can I use these secrets when deploying this app as a web app on MATLAB Web App Server? MATLAB Answers — New Questions
can u ans me what should i do now from bolded wave to normalwave
i do my simulink which is dynamic voltage restorer using fuzzy logic controller for voltage stabilization. here i face this kind of problem can u suggest me what should i do now? why the curve is bolded? please help mei do my simulink which is dynamic voltage restorer using fuzzy logic controller for voltage stabilization. here i face this kind of problem can u suggest me what should i do now? why the curve is bolded? please help me i do my simulink which is dynamic voltage restorer using fuzzy logic controller for voltage stabilization. here i face this kind of problem can u suggest me what should i do now? why the curve is bolded? please help me simulink, matlab MATLAB Answers — New Questions
Making a table from data using rec
I am trying to use this code to create a table of when the data is in recession (when the value of q(x)>q(x-1)). However I do not know how to use the rec command.
T= readtable ("GDF.xlsx");
q=T(:,2);%The second column of the data is numerical, the first column is just dates
R=0;
for x=T
if q(x)>q(x-1) %Defining what a recession counts as
R=R+1;
rec(x)=1 %If it is a recession it =1, if not it will =0
else
rec(x)=0;
end
end
Error message that appears when I run this code:
Error using () (line 133)
Subscripting into a table using one subscript (as in t(i))
is not supported. Specify a row subscript and a variable
subscript, as in t(rows,vars). To select variables, use
t(:,i) or for one variable t.(i). To select rows, use
t(i,:).
Error in
Week4Q2 (line 8)
if q(x)>q(x-1)
Any idea on how to change the code so it produces a table of when the data is in recession? Help would be appreciated.I am trying to use this code to create a table of when the data is in recession (when the value of q(x)>q(x-1)). However I do not know how to use the rec command.
T= readtable ("GDF.xlsx");
q=T(:,2);%The second column of the data is numerical, the first column is just dates
R=0;
for x=T
if q(x)>q(x-1) %Defining what a recession counts as
R=R+1;
rec(x)=1 %If it is a recession it =1, if not it will =0
else
rec(x)=0;
end
end
Error message that appears when I run this code:
Error using () (line 133)
Subscripting into a table using one subscript (as in t(i))
is not supported. Specify a row subscript and a variable
subscript, as in t(rows,vars). To select variables, use
t(:,i) or for one variable t.(i). To select rows, use
t(i,:).
Error in
Week4Q2 (line 8)
if q(x)>q(x-1)
Any idea on how to change the code so it produces a table of when the data is in recession? Help would be appreciated. I am trying to use this code to create a table of when the data is in recession (when the value of q(x)>q(x-1)). However I do not know how to use the rec command.
T= readtable ("GDF.xlsx");
q=T(:,2);%The second column of the data is numerical, the first column is just dates
R=0;
for x=T
if q(x)>q(x-1) %Defining what a recession counts as
R=R+1;
rec(x)=1 %If it is a recession it =1, if not it will =0
else
rec(x)=0;
end
end
Error message that appears when I run this code:
Error using () (line 133)
Subscripting into a table using one subscript (as in t(i))
is not supported. Specify a row subscript and a variable
subscript, as in t(rows,vars). To select variables, use
t(:,i) or for one variable t.(i). To select rows, use
t(i,:).
Error in
Week4Q2 (line 8)
if q(x)>q(x-1)
Any idea on how to change the code so it produces a table of when the data is in recession? Help would be appreciated. table, rec, if statement, for loop, else MATLAB Answers — New Questions
Important Change Coming for Entra ID Passkeys in November 2025
Passkey Settings Behavior Change After Introduction of New Passkey Profiles
If your focus is on Entra ID or security, you probably agree with the statement that passkeys are the future for authentication. Or at least, the immediate next step. Who knows what might happen after passkeys are fully deployed? After all, it wasn’t so long ago that people congratulated themselves for using SMS messages for multifactor authentication.
In any case, message center notification MC1097225 (first published 17 June 2025, updated 20 October 2025) marks an important point in the evolution of passkey support within Entra ID. Where today Entra ID supports tenant-wide controls for passkeys as an authentication method, from November 2025 (December 2025 for government clouds), the preview Entra ID feature will support up to ten passkey profiles per tenant. The intention behind the change is to allow tenants to exert more granular control over which users can use what passkeys for authentication.
Granular control is usually goodness, and there’s goodness in this change. You’ll be able to create a passkey profile for departments or other groups and dictate what kind of passkeys the users within the scope of the profile can use.
Passkey Authenticator Attestation
A potential downside exists that should be understood before rushing to embrace the change. When a tenant opts in to use the new approach, Entra ID switches to a new schema to describe what passkey policies are. Logically enough, the existing passkey settings become the default passkey policy, and if the setting to enforce attestation is disabled, Entra ID will become less strict about the kind of passkeys it accepts as an authentication method.
Passkeys have an Authenticator Attestation GUID (AAGUID), a 128-bit identifier to identify the make and model. In enterprise environments, it is common practice to decide on a set of passkeys or FIDO2 keys that the tenant wishes to support. This decision is enforced by specifying the AAGUIDs in the passkey settings.
But as part of the change to the new passkey schema, Microsoft says that “if Enforce attestation is disabled (in a policy), we (Entra ID) will start accepting security key or passkey providers using the following attestation statements:
- “none”
- “tpm”
- “packed” (AttCA type only)
- Custom attestation formats ≤ 32 characters
This will allow a wider range of security keys and passkey providers to be accepted for registration and authentication in Microsoft Entra ID.”
That doesn’t sound too serious, but it does mean that if your current passkey settings do not enforce attestation (Figure 1), anyone covered by the default policy created when the switchover happens will be able to choose whatever passkey type they like.

A Passkey Setting Worth Checking
Some tenants might not care very much about the non-enforcement of attestation. Others will care deeply because of the work they’ve done previously to figure out what kind of passkeys should be used within the tenant. In either case, it’s worthwhile considering the topic and deciding if attestation should be enforced.
Microsoft says that there’s no administrator action necessary for the change. It will be deployed automatically to tenants, and you might not realize that anything has happened if you don’t have the need to review authentication methods.
APIs Not Ready for Change
MC1097225 contains an important note: “If you continue using Graph API or third-party tools to modify the policy, the schema will not change until General Availability.” Remember, what comes in November is a preview and it takes time for APIs to catch up with change. Customers who have built tools to manage authentication methods can continue to use those methods until general availability happens, which will probably be in early to mid-2026 (my guess). When that happens, I guess I’ll revisit my password and authentication methods report script.
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!
Figure 창에 출력되는 이미지 크기 조절 방법
안녕하세요.
Figure 창에 출력되는 결과가 전체의 부분만 나타납니다. 처리하는 이미지 크기가 커서 그런것 같아서 이미지 크기를 줄여도 동일한 형태인데. Figure에 출력되는 이미지가 계속 부분만 보이는 이유가 무엇인지 조언 부탁 드립니다.
scale_factor = 0.5;
radius_range_orig = [15 60];
img1_rgb_orig = imread(‘SIFT_1.png’);
img1_rgb = imresize(img1_rgb_orig, scale_factor);
img1_gray = im2gray(img1_rgb);
img2_rgb_orig = imread(‘SIFT_2.png’);
img2_rgb = imresize(img2_rgb_orig, scale_factor);
img2_gray = im2gray(img2_rgb);
points1_all = detectSIFTFeatures(img1_gray);
points2_all = detectSIFTFeatures(img2_gray);
scaled_radius_range = round(radius_range_orig * scale_factor);
[centers1, radii1] = imfindcircles(img1_gray, scaled_radius_range, ‘Sensitivity’, 0.92, ‘ObjectPolarity’, ‘bright’);
if isempty(centers1)
disp(‘SIFT_1.png (축소됨)에서 공을 찾지 못했습니다. 반경/민감도를 조절하세요.’);
return;
end
center1 = centers1(1,:);
radius1 = radii1(1);
roi1 = [center1(1)-radius1, center1(2)-radius1, 2*radius1, 2*radius1];
[centers2, radii2] = imfindcircles(img2_gray, scaled_radius_range, ‘Sensitivity’, 0.92, ‘ObjectPolarity’, ‘bright’);
if isempty(centers2)
disp(‘SIFT_2.png (축소됨)에서 공을 찾지 못했습니다. 반경/민감도를 조절하세요.’);
return;
end
center2 = centers2(1,:);
radius2 = radii2(1);
roi2 = [center2(1)-radius2, center2(2)-radius2, 2*radius2, 2*radius2];
locations1 = points1_all.Location;
x_min1 = roi1(1); y_min1 = roi1(2);
x_max1 = roi1(1) + roi1(3); y_max1 = roi1(2) + roi1(4);
inside_indices1 = (locations1(:, 1) >= x_min1 & locations1(:, 1) <= x_max1 & …
locations1(:, 2) >= y_min1 & locations1(:, 2) <= y_max1);
points_in_roi1 = points1_all(inside_indices1);
locations2 = points2_all.Location;
x_min2 = roi2(1); y_min2 = roi2(2);
x_max2 = roi2(1) + roi2(3); y_max2 = roi2(2) + roi2(4);
inside_indices2 = (locations2(:, 1) >= x_min2 & locations2(:, 1) <= x_max2 & …
locations2(:, 2) >= y_min2 & locations2(:, 2) <= y_max2);
points_in_roi2 = points2_all(inside_indices2);
[features1, valid_points1] = extractFeatures(img1_gray, points_in_roi1);
[features2, valid_points2] = extractFeatures(img2_gray, points_in_roi2);
indexPairs = matchFeatures(features1, features2, ‘MaxRatio’, 0.6);
matchedPoints1 = valid_points1(indexPairs(:, 1), :);
matchedPoints2 = valid_points2(indexPairs(:, 2), :);
figure(‘WindowState’, ‘maximized’);
showMatchedFeatures(img1_rgb, img2_rgb, matchedPoints1, matchedPoints2, ‘montage’);
title(‘Matched SIFT Features (Resized Image)’);안녕하세요.
Figure 창에 출력되는 결과가 전체의 부분만 나타납니다. 처리하는 이미지 크기가 커서 그런것 같아서 이미지 크기를 줄여도 동일한 형태인데. Figure에 출력되는 이미지가 계속 부분만 보이는 이유가 무엇인지 조언 부탁 드립니다.
scale_factor = 0.5;
radius_range_orig = [15 60];
img1_rgb_orig = imread(‘SIFT_1.png’);
img1_rgb = imresize(img1_rgb_orig, scale_factor);
img1_gray = im2gray(img1_rgb);
img2_rgb_orig = imread(‘SIFT_2.png’);
img2_rgb = imresize(img2_rgb_orig, scale_factor);
img2_gray = im2gray(img2_rgb);
points1_all = detectSIFTFeatures(img1_gray);
points2_all = detectSIFTFeatures(img2_gray);
scaled_radius_range = round(radius_range_orig * scale_factor);
[centers1, radii1] = imfindcircles(img1_gray, scaled_radius_range, ‘Sensitivity’, 0.92, ‘ObjectPolarity’, ‘bright’);
if isempty(centers1)
disp(‘SIFT_1.png (축소됨)에서 공을 찾지 못했습니다. 반경/민감도를 조절하세요.’);
return;
end
center1 = centers1(1,:);
radius1 = radii1(1);
roi1 = [center1(1)-radius1, center1(2)-radius1, 2*radius1, 2*radius1];
[centers2, radii2] = imfindcircles(img2_gray, scaled_radius_range, ‘Sensitivity’, 0.92, ‘ObjectPolarity’, ‘bright’);
if isempty(centers2)
disp(‘SIFT_2.png (축소됨)에서 공을 찾지 못했습니다. 반경/민감도를 조절하세요.’);
return;
end
center2 = centers2(1,:);
radius2 = radii2(1);
roi2 = [center2(1)-radius2, center2(2)-radius2, 2*radius2, 2*radius2];
locations1 = points1_all.Location;
x_min1 = roi1(1); y_min1 = roi1(2);
x_max1 = roi1(1) + roi1(3); y_max1 = roi1(2) + roi1(4);
inside_indices1 = (locations1(:, 1) >= x_min1 & locations1(:, 1) <= x_max1 & …
locations1(:, 2) >= y_min1 & locations1(:, 2) <= y_max1);
points_in_roi1 = points1_all(inside_indices1);
locations2 = points2_all.Location;
x_min2 = roi2(1); y_min2 = roi2(2);
x_max2 = roi2(1) + roi2(3); y_max2 = roi2(2) + roi2(4);
inside_indices2 = (locations2(:, 1) >= x_min2 & locations2(:, 1) <= x_max2 & …
locations2(:, 2) >= y_min2 & locations2(:, 2) <= y_max2);
points_in_roi2 = points2_all(inside_indices2);
[features1, valid_points1] = extractFeatures(img1_gray, points_in_roi1);
[features2, valid_points2] = extractFeatures(img2_gray, points_in_roi2);
indexPairs = matchFeatures(features1, features2, ‘MaxRatio’, 0.6);
matchedPoints1 = valid_points1(indexPairs(:, 1), :);
matchedPoints2 = valid_points2(indexPairs(:, 2), :);
figure(‘WindowState’, ‘maximized’);
showMatchedFeatures(img1_rgb, img2_rgb, matchedPoints1, matchedPoints2, ‘montage’);
title(‘Matched SIFT Features (Resized Image)’); 안녕하세요.
Figure 창에 출력되는 결과가 전체의 부분만 나타납니다. 처리하는 이미지 크기가 커서 그런것 같아서 이미지 크기를 줄여도 동일한 형태인데. Figure에 출력되는 이미지가 계속 부분만 보이는 이유가 무엇인지 조언 부탁 드립니다.
scale_factor = 0.5;
radius_range_orig = [15 60];
img1_rgb_orig = imread(‘SIFT_1.png’);
img1_rgb = imresize(img1_rgb_orig, scale_factor);
img1_gray = im2gray(img1_rgb);
img2_rgb_orig = imread(‘SIFT_2.png’);
img2_rgb = imresize(img2_rgb_orig, scale_factor);
img2_gray = im2gray(img2_rgb);
points1_all = detectSIFTFeatures(img1_gray);
points2_all = detectSIFTFeatures(img2_gray);
scaled_radius_range = round(radius_range_orig * scale_factor);
[centers1, radii1] = imfindcircles(img1_gray, scaled_radius_range, ‘Sensitivity’, 0.92, ‘ObjectPolarity’, ‘bright’);
if isempty(centers1)
disp(‘SIFT_1.png (축소됨)에서 공을 찾지 못했습니다. 반경/민감도를 조절하세요.’);
return;
end
center1 = centers1(1,:);
radius1 = radii1(1);
roi1 = [center1(1)-radius1, center1(2)-radius1, 2*radius1, 2*radius1];
[centers2, radii2] = imfindcircles(img2_gray, scaled_radius_range, ‘Sensitivity’, 0.92, ‘ObjectPolarity’, ‘bright’);
if isempty(centers2)
disp(‘SIFT_2.png (축소됨)에서 공을 찾지 못했습니다. 반경/민감도를 조절하세요.’);
return;
end
center2 = centers2(1,:);
radius2 = radii2(1);
roi2 = [center2(1)-radius2, center2(2)-radius2, 2*radius2, 2*radius2];
locations1 = points1_all.Location;
x_min1 = roi1(1); y_min1 = roi1(2);
x_max1 = roi1(1) + roi1(3); y_max1 = roi1(2) + roi1(4);
inside_indices1 = (locations1(:, 1) >= x_min1 & locations1(:, 1) <= x_max1 & …
locations1(:, 2) >= y_min1 & locations1(:, 2) <= y_max1);
points_in_roi1 = points1_all(inside_indices1);
locations2 = points2_all.Location;
x_min2 = roi2(1); y_min2 = roi2(2);
x_max2 = roi2(1) + roi2(3); y_max2 = roi2(2) + roi2(4);
inside_indices2 = (locations2(:, 1) >= x_min2 & locations2(:, 1) <= x_max2 & …
locations2(:, 2) >= y_min2 & locations2(:, 2) <= y_max2);
points_in_roi2 = points2_all(inside_indices2);
[features1, valid_points1] = extractFeatures(img1_gray, points_in_roi1);
[features2, valid_points2] = extractFeatures(img2_gray, points_in_roi2);
indexPairs = matchFeatures(features1, features2, ‘MaxRatio’, 0.6);
matchedPoints1 = valid_points1(indexPairs(:, 1), :);
matchedPoints2 = valid_points2(indexPairs(:, 2), :);
figure(‘WindowState’, ‘maximized’);
showMatchedFeatures(img1_rgb, img2_rgb, matchedPoints1, matchedPoints2, ‘montage’);
title(‘Matched SIFT Features (Resized Image)’); figure, 이미지크기 조절 MATLAB Answers — New Questions
Capture 1.6 GHz Bandwidth Spectrum Using Multiple Antennas
I want to fully utilize the 1.6 GHz bandwidth of the X410. What kind of computer hardware configuration should I use should I use (network card, cable, memory, storage, etc.)?I want to fully utilize the 1.6 GHz bandwidth of the X410. What kind of computer hardware configuration should I use should I use (network card, cable, memory, storage, etc.)? I want to fully utilize the 1.6 GHz bandwidth of the X410. What kind of computer hardware configuration should I use should I use (network card, cable, memory, storage, etc.)? usrp, x410 MATLAB Answers — New Questions
The ‘Evaluate’ attribute is not valid – Simscape masking
I am trying to make a masked subsystem with an integrated Pipe (TL) block from the Simscape Fluids library. In the mask, I promote the ‘Cross-sectional geometry’ and ‘Pipe diameter’ properties. Previewing the dialog box works at this point. When changing the cross-sectional geometry in the dialog box from Circular to e.g. Annular, the mask editor gives the following error: The ‘Evaluate’ attribute specified for parameter ‘Parameter 2’ of block ‘Model/Subsystem’ is not valid. Looking at the Mask editor, the entire list of parameters changes. The properties are still there but all the namings are gone. Moreover, I noticed that depending on which property is loaded in ‘Cross-sectional geometry’, the Evaluate attribute of ‘Pipe diameter’ is either checked or not, and I cannot change it by clicking in the mask – it seems to be locked. I’ve been looking for the attributes via command line using get(gcbh), but I was not able to find a way to change the attribute. I found something in the ‘DialogParameters’ structure, but this is read-only and cannot be changed using set_param.
Is there a way I can get the masking working, with the ability to set both the Cross-sectional geometry as other properties like Pipe diameter?
Mask before changing cross-sectional geometry:
Mask after changing cross-sectional geometry:I am trying to make a masked subsystem with an integrated Pipe (TL) block from the Simscape Fluids library. In the mask, I promote the ‘Cross-sectional geometry’ and ‘Pipe diameter’ properties. Previewing the dialog box works at this point. When changing the cross-sectional geometry in the dialog box from Circular to e.g. Annular, the mask editor gives the following error: The ‘Evaluate’ attribute specified for parameter ‘Parameter 2’ of block ‘Model/Subsystem’ is not valid. Looking at the Mask editor, the entire list of parameters changes. The properties are still there but all the namings are gone. Moreover, I noticed that depending on which property is loaded in ‘Cross-sectional geometry’, the Evaluate attribute of ‘Pipe diameter’ is either checked or not, and I cannot change it by clicking in the mask – it seems to be locked. I’ve been looking for the attributes via command line using get(gcbh), but I was not able to find a way to change the attribute. I found something in the ‘DialogParameters’ structure, but this is read-only and cannot be changed using set_param.
Is there a way I can get the masking working, with the ability to set both the Cross-sectional geometry as other properties like Pipe diameter?
Mask before changing cross-sectional geometry:
Mask after changing cross-sectional geometry: I am trying to make a masked subsystem with an integrated Pipe (TL) block from the Simscape Fluids library. In the mask, I promote the ‘Cross-sectional geometry’ and ‘Pipe diameter’ properties. Previewing the dialog box works at this point. When changing the cross-sectional geometry in the dialog box from Circular to e.g. Annular, the mask editor gives the following error: The ‘Evaluate’ attribute specified for parameter ‘Parameter 2’ of block ‘Model/Subsystem’ is not valid. Looking at the Mask editor, the entire list of parameters changes. The properties are still there but all the namings are gone. Moreover, I noticed that depending on which property is loaded in ‘Cross-sectional geometry’, the Evaluate attribute of ‘Pipe diameter’ is either checked or not, and I cannot change it by clicking in the mask – it seems to be locked. I’ve been looking for the attributes via command line using get(gcbh), but I was not able to find a way to change the attribute. I found something in the ‘DialogParameters’ structure, but this is read-only and cannot be changed using set_param.
Is there a way I can get the masking working, with the ability to set both the Cross-sectional geometry as other properties like Pipe diameter?
Mask before changing cross-sectional geometry:
Mask after changing cross-sectional geometry: mask, evaluate MATLAB Answers — New Questions
How can I execute a function if it exist, otherwise use a custom function?
knnsearch is a function from the "statistics and machine learning toolbox"
I created my own knnsearch, however, if the user has this function already I want to run it from the toolbox. if the user doesn’t have it, then execute my implementation.
The problem is that matlab fails in compiler time becasue it is expecting knnsearch to exist.
by the way… I used copilot and chatgpt for suggestions…. but their suggestions didn’t work.
function [k_idx, D] = knnsearch_lib(queryPoint, data, k)
% Check if the Toolbox knnsearch function is available
if exist(‘knnsearch’, ‘file’) == 2
[k_idx, D] = knnsearch(queryPoint, data, k);
else
% If not available, use custom implementation
[k_idx, D] = knn_custom(queryPoint, data, k);
end
endknnsearch is a function from the "statistics and machine learning toolbox"
I created my own knnsearch, however, if the user has this function already I want to run it from the toolbox. if the user doesn’t have it, then execute my implementation.
The problem is that matlab fails in compiler time becasue it is expecting knnsearch to exist.
by the way… I used copilot and chatgpt for suggestions…. but their suggestions didn’t work.
function [k_idx, D] = knnsearch_lib(queryPoint, data, k)
% Check if the Toolbox knnsearch function is available
if exist(‘knnsearch’, ‘file’) == 2
[k_idx, D] = knnsearch(queryPoint, data, k);
else
% If not available, use custom implementation
[k_idx, D] = knn_custom(queryPoint, data, k);
end
end knnsearch is a function from the "statistics and machine learning toolbox"
I created my own knnsearch, however, if the user has this function already I want to run it from the toolbox. if the user doesn’t have it, then execute my implementation.
The problem is that matlab fails in compiler time becasue it is expecting knnsearch to exist.
by the way… I used copilot and chatgpt for suggestions…. but their suggestions didn’t work.
function [k_idx, D] = knnsearch_lib(queryPoint, data, k)
% Check if the Toolbox knnsearch function is available
if exist(‘knnsearch’, ‘file’) == 2
[k_idx, D] = knnsearch(queryPoint, data, k);
else
% If not available, use custom implementation
[k_idx, D] = knn_custom(queryPoint, data, k);
end
end conditional dispatch MATLAB Answers — New Questions
Approach to computing statistics on a latitude/longitude grid
I’m looking for suggestions on the best approach to computing statistics on a latitude/longitude grid in MATLAB.
I have a non-gridded dataset with global wind observations (wind magnitude in knots) based on latitude and longitude over 30 years. I want to average that data on some latitude/longitude grid (say 1°x1° grid) then create a density-like plot of those average wind values on a map.
I’m trying to find the most efficient approach to doing this analysis in MATLAB. Thanks.I’m looking for suggestions on the best approach to computing statistics on a latitude/longitude grid in MATLAB.
I have a non-gridded dataset with global wind observations (wind magnitude in knots) based on latitude and longitude over 30 years. I want to average that data on some latitude/longitude grid (say 1°x1° grid) then create a density-like plot of those average wind values on a map.
I’m trying to find the most efficient approach to doing this analysis in MATLAB. Thanks. I’m looking for suggestions on the best approach to computing statistics on a latitude/longitude grid in MATLAB.
I have a non-gridded dataset with global wind observations (wind magnitude in knots) based on latitude and longitude over 30 years. I want to average that data on some latitude/longitude grid (say 1°x1° grid) then create a density-like plot of those average wind values on a map.
I’m trying to find the most efficient approach to doing this analysis in MATLAB. Thanks. latitude, longitude, grid, statistics MATLAB Answers — New Questions
Automating Microsoft 365 with PowerShell November 2025 Update
Updated PDF and EPUB Files Available for Automating Microsoft 365 with PowerShell eBook
The Office 365 for IT Pros team is happy to announce the availability of version 17 of the Automating Microsoft 365 with PowerShell eBook. Updated PDF and EPUB files are available for download from Gumroad.com by subscribers of the Office 365 for IT Pros eBook and by those who bought the PowerShell book separately. Remember, when you subcribe to these books, you’re entitled to receive any updates we release for the edition.
We’re still working on the November 2025 update of the main Office 365 and anticipate that it will be ready for subscribers to download on November 1, 2025.
Final Retirement of AzureAD and AzureADPreview Modules
This month marks the final retirement of the AzureAD and AzureAD Preview modules. Microsoft made the original announcement about the retirement of these and the MSOL module on August 26, 2021. Fifty months and multiple postponements later, Microsoft has eventually managed to cajole, persuade, and force customers to dump the old modules to embrace the Graph. At least, Microsoft wants customers to replace old code with cmdlets from the Microsoft Graph PowerShell SDK or the Microsoft Entra module. Naturally, Automating Microsoft 365 with PowerShell is absolutely the best text to consult for anyone who needs to upgrade old scripts. The worked-out code examples are of great help when figuring out cmdlet syntax.
The Entra module is based on the Microsoft Graph PowerShell SDK. It features cmdlets to work with Entra objects like users, groups, and devices with aliases to make the cmdlets work like their AzureAD equivalents, if one exists. I don’t recommend using the Entra module because I think it’s better that administrators and developers understand how to use the full Graph.
Paperbacks at TEC
The TEC 2025 conference was at the start of October. During the event (enjoyable as always), I ordered some copies of the paperback version of Automating Microsoft 365 for PowerShell for delivery to the hotel (Figure 1).

After looking at the Word and PDF versions of the book for months, I wanted to see how the content looked after going through Amazon’s print-on-demand process to verify that people who buy the paperback will be happy. I think they will because the quality surpassed my expectation. It’s definitely not in the same class as the production quality seen in books like the Microsoft Press Inside Out series, but the book is perfectly acceptable.
Point Updates
Those who pay close attention (or who have time to spare) might notice that point releases appear for Automating Microsoft 365 with PowerShell. For instance, the current release is version 17.2, two point releases from version 17.0. Last month, we issued 16.0 through 16.4.
We issue point releases when we correct minor errors or add some material that’s important and we want readers to benefit from without waiting for a monthly update. Minor errors include grammatical and spelling errors, like an annoying “Get-MgServicePrincipall” discovered in V17.0. Code errors like an incorrect parameter also justify a point release, as does the inclusion of a new example. There’s no point in using electronic publishing if you can’t take advantage of the mechanism to improve the quality and content of the book on an ongoing basis.
Our release cadence poses problems for the paperback version because we obviously can’t update printed books. The books I had delivered to TEC 2025 were version 16.0 and the text printed on those pages will always remain the same. Such is the downside of committing words to print instead of an electronic medium.
Sharing Knowledge
We continue to add content to Automating Microsoft 365 with PowerShell. It’s become my go-to notebook to capture experiences, hints, and insights acquired by working with different Graph APIs and SDK cmdlets. It’s been quite a journey so far and I anticipate that there’s much more to come. Stay tuned.
Can’t see licenses after payment
I made an order for licenses and have paid by card. And today is 2-nd day already but I don’t have nor licenses nor even an email about my order.
I just can’t believe that orders are being processed manually in Mathworks.
Is this normal?I made an order for licenses and have paid by card. And today is 2-nd day already but I don’t have nor licenses nor even an email about my order.
I just can’t believe that orders are being processed manually in Mathworks.
Is this normal? I made an order for licenses and have paid by card. And today is 2-nd day already but I don’t have nor licenses nor even an email about my order.
I just can’t believe that orders are being processed manually in Mathworks.
Is this normal? license MATLAB Answers — New Questions
Unable to find the Specialized Power Systems group in simscape electrical in newer version r2025b
Is it relocated to other sub folder? I was particularly looking for universal bridge for simulating converters but I cant find the specific folder.Is it relocated to other sub folder? I was particularly looking for universal bridge for simulating converters but I cant find the specific folder. Is it relocated to other sub folder? I was particularly looking for universal bridge for simulating converters but I cant find the specific folder. simulink, simscape, simpowersystems MATLAB Answers — New Questions
Is it possible to preview the contents of MAT files in R2025a?
I can’t seem to be able to preview the contents of a MAT file in the Current folder pane in R2025a. Is it ineed one of the "advanced features" of this release?I can’t seem to be able to preview the contents of a MAT file in the Current folder pane in R2025a. Is it ineed one of the "advanced features" of this release? I can’t seem to be able to preview the contents of a MAT file in the Current folder pane in R2025a. Is it ineed one of the "advanced features" of this release? mat file, preview MATLAB Answers — New Questions
Matlab Segfaults with OMP Error
Hi Everyone,
we are a research group, using multiple Matlab versions on some linux systems. After a recent updates, across different Matlab versions, all of them crash whenever matlab decides to multithread a computation. Simple example is a QR decomp via qr(rand(100,100)).
The resulting error is:
OMP: Error #29: Unable to set OMP thread stack size to 525440:
OMP: System error #22: Invalid argument
OMP: Hint Try increasing OMP_STACKSIZE or the shell stack limit.
Segmentation fault (core dumped) ./matlab
and the stack trace is:
OMP: Error #29: Unable to set OMP thread stack size to 525440 bytes:
OMP: System error #22: Invalid argument
OMP: Hint Try increasing OMP_STACKSIZE or the shell stack limit.
MATLAB Log File: /home/$username/matlab_crash_dump.1602-1
————————————————
MATLAB Log File
————————————————
——————————————————————————–
abort() detected at 2025-10-18 04:20:05 +0200
——————————————————————————–
Configuration:
Crash Decoding : Disabled – No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.42 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x10de ( 0x10de ) 0x2204 Version 580.95.5.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 1971833
MATLAB Root : /usr/local/MATLAB/R2021b
MATLAB Version : 9.11.0.2179507 (R2021b) Update 5
OpenGL : software
Operating System : Linux 6.12.53-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 15 Oct 2025 11:05:48 +0000 x86_64
Process ID : 1602
Processor ID : x86 Family 143 Model 113 Stepping 0, AuthenticAMD
Session Key : dbcb8a74-44ab-46a5-96da-511734bf8746
Static TLS mitigation : Enabled: Full
Window System : The X.Org Foundation (12101015), display redqueen:11.0
Fault Count: 1
Abnormal termination:
abort()
Current Thread: ‘MCR 0 interpret’ id 139753454302912
Register State (from fault):
RAX = 0000000000000000 RBX = 000000000000068b
RCX = 00007f1b2429894c RDX = 0000000000000006
RSP = 00007f1ae2fe25e0 RBP = 00007f1ae2fe2620
RSI = 000000000000068b RDI = 0000000000000642
R8 = 0000000000000018 R9 = 0000000000000000
R10 = 0000000000000000 R11 = 0000000000000246
R12 = 00007f1b033d3a78 R13 = 00007f19ae5b6400
R14 = 0000000000000006 R15 = 00007f1b033d3988
RIP = 00007f1b2429894c EFL = 0000000000000246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f1b2429894c /usr/lib/libc.so.6+00624972
[ 1] 0x00007f1b2423e410 /usr/lib/libc.so.6+00254992 gsignal+00000032
[ 2] 0x00007f1b2422557a /usr/lib/libc.so.6+00152954 abort+00000038
[ 3] 0x00007f1b030bd7f7 /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00776183
[ 4] 0x00007f1b030a7abb /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00686779
[ 5] 0x00007f1b031314dc /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+01250524
[ 6] 0x00007f1b030b15fa /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00726522
[ 7] 0x00007f1b030b7efd /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00753405
[ 8] 0x00007f1b030b562f /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00742959 __kmp_fork_call+00004335
[ 9] 0x00007f1b03078533 /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00492851 __kmpc_fork_call+00000387
[ 10] 0x00007f0ddf55f56b /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+05633387 mkl_lapack_dgeqrf_pfnr+00000587
[ 11] 0x00007f0ddf7e5b10 /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+08280848 mkl_lapack_xdgeqrf+00000576
[ 12] 0x00007f0ddf5484a4 /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+05538980 mkl_lapack_dgeqrf+00005428
[ 13] 0x00007f0ddf399a6c /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+03775084 DGEQRF+00000220
[ 14] 0x00007f1b04e75705 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmathlinalg.so+02578181
[ 15] 0x00007f1b04e6e8bf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmathlinalg.so+02549951 _Z15mathlinalgQRFcniPSt10unique_ptrI11mxArray_tagN6matrix6detail17mxDestroy_deleterEEiPPKS0_+00000175
[ 16] 0x00007f18f29f66f0 /usr/local/MATLAB/R2021b/bin/glnxa64/builtins/mathlinalg/mwlibmwmathlinalg_builtinimpl.so+00337648
[ 17] 0x00007f1b1b65e8fa /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbuiltin.so+00076026 _ZNK9MathWorks7builtin10BuiltinFcn6invokeEiPP11mxArray_tagiS4_NS1_18VariantsToConsiderE+00000106
[ 18] 0x00007f1b1a323b4e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00764750
[ 19] 0x00007f1b1a326938 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00776504
[ 20] 0x00007f1b07e080ee /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12615918
[ 21] 0x00007f1b07f58c91 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13995153
[ 22] 0x00007f1b07f58f86 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13995910
[ 23] 0x00007f1b07ee3f3d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13516605
[ 24] 0x00007f1b07eec030 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13549616
[ 25] 0x00007f1b079abdc0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08043968
[ 26] 0x00007f1b079adde4 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08052196
[ 27] 0x00007f1b079aae71 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08040049
[ 28] 0x00007f1b079a0d25 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+07998757
[ 29] 0x00007f1b079a1211 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08000017
[ 30] 0x00007f1b079aa6ba /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038074
[ 31] 0x00007f1b079aa7b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038326
[ 32] 0x00007f1b07ad8e1b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09276955
[ 33] 0x00007f1b07adbd40 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09289024
[ 34] 0x00007f1b07d0b8b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11581622
[ 35] 0x00007f1b07df5da2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12541346
[ 36] 0x00007f1b07df6264 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12542564
[ 37] 0x00007f1b07df637d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12542845
[ 38] 0x00007f1b1a396df0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+01236464 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000208
[ 39] 0x00007f1b1a398a02 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+01243650 _ZN8Mfh_file19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000306
[ 40] 0x00007f1ae1ee41ca /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05128650
[ 41] 0x00007f1ae1e640cf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04604111
[ 42] 0x00007f1ae1e668ec /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04614380
[ 43] 0x00007f1ae1e6cc49 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04639817
[ 44] 0x00007f1ae1e650d5 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04608213
[ 45] 0x00007f1ae1fb528f /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05984911
[ 46] 0x00007f1ae1fb1872 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05970034
[ 47] 0x00007f1b1a3069da /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00645594 _ZN18Mfh_MATLAB_fn_impl19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000266
[ 48] 0x00007f1b07f7cd9e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14142878
[ 49] 0x00007f1b07f81125 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14160165
[ 50] 0x00007f1b07f7cef5 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14143221
[ 51] 0x00007f1b07f8687f /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14182527
[ 52] 0x00007f1b07e097d8 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12621784
[ 53] 0x00007f1b07f548eb /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13977835
[ 54] 0x00007f1b07ee3f3d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13516605
[ 55] 0x00007f1b07ee5eb0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13524656
[ 56] 0x00007f1b079abdc0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08043968
[ 57] 0x00007f1b079adde4 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08052196
[ 58] 0x00007f1b079aae71 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08040049
[ 59] 0x00007f1b079a0d25 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+07998757
[ 60] 0x00007f1b079a1211 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08000017
[ 61] 0x00007f1b079aa6ba /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038074
[ 62] 0x00007f1b079aa7b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038326
[ 63] 0x00007f1b07ad8e1b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09276955
[ 64] 0x00007f1b07adbd40 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09289024
[ 65] 0x00007f1b07d0b8b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11581622
[ 66] 0x00007f1b07cb784c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11237452
[ 67] 0x00007f1b07cb850c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11240716
[ 68] 0x00007f1b07d59a64 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11901540
[ 69] 0x00007f1b07d59c29 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11901993
[ 70] 0x00007f1b1bb53489 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00595081
[ 71] 0x00007f1b1bbb3762 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00989026 _ZN3iqm14UserEvalPlugin7executeEP15inWorkSpace_tag+00000642
[ 72] 0x00007f1a91b6f31c /usr/local/MATLAB/R2021b/bin/glnxa64/libnativejmi.so+01008412 _ZN9nativejmi17JmiUserEvalPlugin7executeEP15inWorkSpace_tag+00000028
[ 73] 0x00007f1b1bb8ebdf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00838623
[ 74] 0x00007f1b1bb9a846 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00886854
[ 75] 0x00007f1b1bb5e516 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00640278
[ 76] 0x00007f1b1c9ccc02 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00302082
[ 77] 0x00007f1b1c9cd543 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00304451
[ 78] 0x00007f1b1c9d37f2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00329714 _Z22mnGetCommandLineBufferbRbN7mwboost8optionalIKP15inWorkSpace_tagEEbRKNS0_9function2IN6mlutil14cmddistributor17inExecutionStatusERKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEES4_EE+00000274
[ 79] 0x00007f1b1c9d3a92 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00330386 _Z8mnParserv+00000482
[ 80] 0x00007f1b1b774307 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00946951
[ 81] 0x00007f1b256b3bd0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02833360 _ZNK7mwboost9function0IvEclEv+00000032
[ 82] 0x00007f1b256bba10 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02865680 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN7mwboost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000048
[ 83] 0x00007f1b256bbab8 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02865848 _ZNSt17_Function_handlerIFN7mwboost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000024
[ 84] 0x00007f1b1bbaf14b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00971083 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000091
[ 85] 0x00007f1b1b771f65 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00937829
[ 86] 0x00007f1b1bb8ebdf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00838623
[ 87] 0x00007f1b1bb5c3cc /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00631756
[ 88] 0x00007f1b1bb5ce60 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00634464
[ 89] 0x00007f1b1b75c30e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00848654
[ 90] 0x00007f1b1b75c92c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00850220
[ 91] 0x00007f1b1b75cba2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00850850
[ 92] 0x00007f1b2360f8a7 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwboost_thread.so.1.72.0+00063655
[ 93] 0x00007f1b242969cb /usr/lib/libc.so.6+00616907
[ 94] 0x00007f1b2431aa0c /usr/lib/libc.so.6+01157644
One likely culprit is recent updates to glibc that don’t play well with Matlab.
Currently, this really breakes any usage of Matlab for our group. Maybe a recompile of the libiomp5.so might already fix it?
Looks like a Matlab bug. New installation did not fix the problem.Hi Everyone,
we are a research group, using multiple Matlab versions on some linux systems. After a recent updates, across different Matlab versions, all of them crash whenever matlab decides to multithread a computation. Simple example is a QR decomp via qr(rand(100,100)).
The resulting error is:
OMP: Error #29: Unable to set OMP thread stack size to 525440:
OMP: System error #22: Invalid argument
OMP: Hint Try increasing OMP_STACKSIZE or the shell stack limit.
Segmentation fault (core dumped) ./matlab
and the stack trace is:
OMP: Error #29: Unable to set OMP thread stack size to 525440 bytes:
OMP: System error #22: Invalid argument
OMP: Hint Try increasing OMP_STACKSIZE or the shell stack limit.
MATLAB Log File: /home/$username/matlab_crash_dump.1602-1
————————————————
MATLAB Log File
————————————————
——————————————————————————–
abort() detected at 2025-10-18 04:20:05 +0200
——————————————————————————–
Configuration:
Crash Decoding : Disabled – No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.42 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x10de ( 0x10de ) 0x2204 Version 580.95.5.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 1971833
MATLAB Root : /usr/local/MATLAB/R2021b
MATLAB Version : 9.11.0.2179507 (R2021b) Update 5
OpenGL : software
Operating System : Linux 6.12.53-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 15 Oct 2025 11:05:48 +0000 x86_64
Process ID : 1602
Processor ID : x86 Family 143 Model 113 Stepping 0, AuthenticAMD
Session Key : dbcb8a74-44ab-46a5-96da-511734bf8746
Static TLS mitigation : Enabled: Full
Window System : The X.Org Foundation (12101015), display redqueen:11.0
Fault Count: 1
Abnormal termination:
abort()
Current Thread: ‘MCR 0 interpret’ id 139753454302912
Register State (from fault):
RAX = 0000000000000000 RBX = 000000000000068b
RCX = 00007f1b2429894c RDX = 0000000000000006
RSP = 00007f1ae2fe25e0 RBP = 00007f1ae2fe2620
RSI = 000000000000068b RDI = 0000000000000642
R8 = 0000000000000018 R9 = 0000000000000000
R10 = 0000000000000000 R11 = 0000000000000246
R12 = 00007f1b033d3a78 R13 = 00007f19ae5b6400
R14 = 0000000000000006 R15 = 00007f1b033d3988
RIP = 00007f1b2429894c EFL = 0000000000000246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f1b2429894c /usr/lib/libc.so.6+00624972
[ 1] 0x00007f1b2423e410 /usr/lib/libc.so.6+00254992 gsignal+00000032
[ 2] 0x00007f1b2422557a /usr/lib/libc.so.6+00152954 abort+00000038
[ 3] 0x00007f1b030bd7f7 /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00776183
[ 4] 0x00007f1b030a7abb /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00686779
[ 5] 0x00007f1b031314dc /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+01250524
[ 6] 0x00007f1b030b15fa /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00726522
[ 7] 0x00007f1b030b7efd /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00753405
[ 8] 0x00007f1b030b562f /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00742959 __kmp_fork_call+00004335
[ 9] 0x00007f1b03078533 /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00492851 __kmpc_fork_call+00000387
[ 10] 0x00007f0ddf55f56b /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+05633387 mkl_lapack_dgeqrf_pfnr+00000587
[ 11] 0x00007f0ddf7e5b10 /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+08280848 mkl_lapack_xdgeqrf+00000576
[ 12] 0x00007f0ddf5484a4 /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+05538980 mkl_lapack_dgeqrf+00005428
[ 13] 0x00007f0ddf399a6c /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+03775084 DGEQRF+00000220
[ 14] 0x00007f1b04e75705 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmathlinalg.so+02578181
[ 15] 0x00007f1b04e6e8bf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmathlinalg.so+02549951 _Z15mathlinalgQRFcniPSt10unique_ptrI11mxArray_tagN6matrix6detail17mxDestroy_deleterEEiPPKS0_+00000175
[ 16] 0x00007f18f29f66f0 /usr/local/MATLAB/R2021b/bin/glnxa64/builtins/mathlinalg/mwlibmwmathlinalg_builtinimpl.so+00337648
[ 17] 0x00007f1b1b65e8fa /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbuiltin.so+00076026 _ZNK9MathWorks7builtin10BuiltinFcn6invokeEiPP11mxArray_tagiS4_NS1_18VariantsToConsiderE+00000106
[ 18] 0x00007f1b1a323b4e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00764750
[ 19] 0x00007f1b1a326938 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00776504
[ 20] 0x00007f1b07e080ee /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12615918
[ 21] 0x00007f1b07f58c91 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13995153
[ 22] 0x00007f1b07f58f86 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13995910
[ 23] 0x00007f1b07ee3f3d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13516605
[ 24] 0x00007f1b07eec030 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13549616
[ 25] 0x00007f1b079abdc0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08043968
[ 26] 0x00007f1b079adde4 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08052196
[ 27] 0x00007f1b079aae71 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08040049
[ 28] 0x00007f1b079a0d25 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+07998757
[ 29] 0x00007f1b079a1211 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08000017
[ 30] 0x00007f1b079aa6ba /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038074
[ 31] 0x00007f1b079aa7b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038326
[ 32] 0x00007f1b07ad8e1b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09276955
[ 33] 0x00007f1b07adbd40 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09289024
[ 34] 0x00007f1b07d0b8b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11581622
[ 35] 0x00007f1b07df5da2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12541346
[ 36] 0x00007f1b07df6264 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12542564
[ 37] 0x00007f1b07df637d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12542845
[ 38] 0x00007f1b1a396df0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+01236464 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000208
[ 39] 0x00007f1b1a398a02 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+01243650 _ZN8Mfh_file19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000306
[ 40] 0x00007f1ae1ee41ca /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05128650
[ 41] 0x00007f1ae1e640cf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04604111
[ 42] 0x00007f1ae1e668ec /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04614380
[ 43] 0x00007f1ae1e6cc49 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04639817
[ 44] 0x00007f1ae1e650d5 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04608213
[ 45] 0x00007f1ae1fb528f /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05984911
[ 46] 0x00007f1ae1fb1872 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05970034
[ 47] 0x00007f1b1a3069da /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00645594 _ZN18Mfh_MATLAB_fn_impl19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000266
[ 48] 0x00007f1b07f7cd9e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14142878
[ 49] 0x00007f1b07f81125 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14160165
[ 50] 0x00007f1b07f7cef5 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14143221
[ 51] 0x00007f1b07f8687f /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14182527
[ 52] 0x00007f1b07e097d8 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12621784
[ 53] 0x00007f1b07f548eb /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13977835
[ 54] 0x00007f1b07ee3f3d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13516605
[ 55] 0x00007f1b07ee5eb0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13524656
[ 56] 0x00007f1b079abdc0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08043968
[ 57] 0x00007f1b079adde4 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08052196
[ 58] 0x00007f1b079aae71 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08040049
[ 59] 0x00007f1b079a0d25 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+07998757
[ 60] 0x00007f1b079a1211 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08000017
[ 61] 0x00007f1b079aa6ba /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038074
[ 62] 0x00007f1b079aa7b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038326
[ 63] 0x00007f1b07ad8e1b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09276955
[ 64] 0x00007f1b07adbd40 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09289024
[ 65] 0x00007f1b07d0b8b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11581622
[ 66] 0x00007f1b07cb784c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11237452
[ 67] 0x00007f1b07cb850c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11240716
[ 68] 0x00007f1b07d59a64 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11901540
[ 69] 0x00007f1b07d59c29 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11901993
[ 70] 0x00007f1b1bb53489 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00595081
[ 71] 0x00007f1b1bbb3762 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00989026 _ZN3iqm14UserEvalPlugin7executeEP15inWorkSpace_tag+00000642
[ 72] 0x00007f1a91b6f31c /usr/local/MATLAB/R2021b/bin/glnxa64/libnativejmi.so+01008412 _ZN9nativejmi17JmiUserEvalPlugin7executeEP15inWorkSpace_tag+00000028
[ 73] 0x00007f1b1bb8ebdf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00838623
[ 74] 0x00007f1b1bb9a846 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00886854
[ 75] 0x00007f1b1bb5e516 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00640278
[ 76] 0x00007f1b1c9ccc02 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00302082
[ 77] 0x00007f1b1c9cd543 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00304451
[ 78] 0x00007f1b1c9d37f2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00329714 _Z22mnGetCommandLineBufferbRbN7mwboost8optionalIKP15inWorkSpace_tagEEbRKNS0_9function2IN6mlutil14cmddistributor17inExecutionStatusERKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEES4_EE+00000274
[ 79] 0x00007f1b1c9d3a92 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00330386 _Z8mnParserv+00000482
[ 80] 0x00007f1b1b774307 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00946951
[ 81] 0x00007f1b256b3bd0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02833360 _ZNK7mwboost9function0IvEclEv+00000032
[ 82] 0x00007f1b256bba10 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02865680 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN7mwboost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000048
[ 83] 0x00007f1b256bbab8 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02865848 _ZNSt17_Function_handlerIFN7mwboost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000024
[ 84] 0x00007f1b1bbaf14b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00971083 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000091
[ 85] 0x00007f1b1b771f65 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00937829
[ 86] 0x00007f1b1bb8ebdf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00838623
[ 87] 0x00007f1b1bb5c3cc /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00631756
[ 88] 0x00007f1b1bb5ce60 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00634464
[ 89] 0x00007f1b1b75c30e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00848654
[ 90] 0x00007f1b1b75c92c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00850220
[ 91] 0x00007f1b1b75cba2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00850850
[ 92] 0x00007f1b2360f8a7 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwboost_thread.so.1.72.0+00063655
[ 93] 0x00007f1b242969cb /usr/lib/libc.so.6+00616907
[ 94] 0x00007f1b2431aa0c /usr/lib/libc.so.6+01157644
One likely culprit is recent updates to glibc that don’t play well with Matlab.
Currently, this really breakes any usage of Matlab for our group. Maybe a recompile of the libiomp5.so might already fix it?
Looks like a Matlab bug. New installation did not fix the problem. Hi Everyone,
we are a research group, using multiple Matlab versions on some linux systems. After a recent updates, across different Matlab versions, all of them crash whenever matlab decides to multithread a computation. Simple example is a QR decomp via qr(rand(100,100)).
The resulting error is:
OMP: Error #29: Unable to set OMP thread stack size to 525440:
OMP: System error #22: Invalid argument
OMP: Hint Try increasing OMP_STACKSIZE or the shell stack limit.
Segmentation fault (core dumped) ./matlab
and the stack trace is:
OMP: Error #29: Unable to set OMP thread stack size to 525440 bytes:
OMP: System error #22: Invalid argument
OMP: Hint Try increasing OMP_STACKSIZE or the shell stack limit.
MATLAB Log File: /home/$username/matlab_crash_dump.1602-1
————————————————
MATLAB Log File
————————————————
——————————————————————————–
abort() detected at 2025-10-18 04:20:05 +0200
——————————————————————————–
Configuration:
Crash Decoding : Disabled – No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.42 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x10de ( 0x10de ) 0x2204 Version 580.95.5.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 1971833
MATLAB Root : /usr/local/MATLAB/R2021b
MATLAB Version : 9.11.0.2179507 (R2021b) Update 5
OpenGL : software
Operating System : Linux 6.12.53-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 15 Oct 2025 11:05:48 +0000 x86_64
Process ID : 1602
Processor ID : x86 Family 143 Model 113 Stepping 0, AuthenticAMD
Session Key : dbcb8a74-44ab-46a5-96da-511734bf8746
Static TLS mitigation : Enabled: Full
Window System : The X.Org Foundation (12101015), display redqueen:11.0
Fault Count: 1
Abnormal termination:
abort()
Current Thread: ‘MCR 0 interpret’ id 139753454302912
Register State (from fault):
RAX = 0000000000000000 RBX = 000000000000068b
RCX = 00007f1b2429894c RDX = 0000000000000006
RSP = 00007f1ae2fe25e0 RBP = 00007f1ae2fe2620
RSI = 000000000000068b RDI = 0000000000000642
R8 = 0000000000000018 R9 = 0000000000000000
R10 = 0000000000000000 R11 = 0000000000000246
R12 = 00007f1b033d3a78 R13 = 00007f19ae5b6400
R14 = 0000000000000006 R15 = 00007f1b033d3988
RIP = 00007f1b2429894c EFL = 0000000000000246
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f1b2429894c /usr/lib/libc.so.6+00624972
[ 1] 0x00007f1b2423e410 /usr/lib/libc.so.6+00254992 gsignal+00000032
[ 2] 0x00007f1b2422557a /usr/lib/libc.so.6+00152954 abort+00000038
[ 3] 0x00007f1b030bd7f7 /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00776183
[ 4] 0x00007f1b030a7abb /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00686779
[ 5] 0x00007f1b031314dc /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+01250524
[ 6] 0x00007f1b030b15fa /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00726522
[ 7] 0x00007f1b030b7efd /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00753405
[ 8] 0x00007f1b030b562f /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00742959 __kmp_fork_call+00004335
[ 9] 0x00007f1b03078533 /usr/local/MATLAB/R2021b/bin/glnxa64/../../sys/os/glnxa64/libiomp5.so+00492851 __kmpc_fork_call+00000387
[ 10] 0x00007f0ddf55f56b /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+05633387 mkl_lapack_dgeqrf_pfnr+00000587
[ 11] 0x00007f0ddf7e5b10 /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+08280848 mkl_lapack_xdgeqrf+00000576
[ 12] 0x00007f0ddf5484a4 /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+05538980 mkl_lapack_dgeqrf+00005428
[ 13] 0x00007f0ddf399a6c /usr/local/MATLAB/R2021b/bin/glnxa64/mkl.so+03775084 DGEQRF+00000220
[ 14] 0x00007f1b04e75705 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmathlinalg.so+02578181
[ 15] 0x00007f1b04e6e8bf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmathlinalg.so+02549951 _Z15mathlinalgQRFcniPSt10unique_ptrI11mxArray_tagN6matrix6detail17mxDestroy_deleterEEiPPKS0_+00000175
[ 16] 0x00007f18f29f66f0 /usr/local/MATLAB/R2021b/bin/glnxa64/builtins/mathlinalg/mwlibmwmathlinalg_builtinimpl.so+00337648
[ 17] 0x00007f1b1b65e8fa /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbuiltin.so+00076026 _ZNK9MathWorks7builtin10BuiltinFcn6invokeEiPP11mxArray_tagiS4_NS1_18VariantsToConsiderE+00000106
[ 18] 0x00007f1b1a323b4e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00764750
[ 19] 0x00007f1b1a326938 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00776504
[ 20] 0x00007f1b07e080ee /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12615918
[ 21] 0x00007f1b07f58c91 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13995153
[ 22] 0x00007f1b07f58f86 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13995910
[ 23] 0x00007f1b07ee3f3d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13516605
[ 24] 0x00007f1b07eec030 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13549616
[ 25] 0x00007f1b079abdc0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08043968
[ 26] 0x00007f1b079adde4 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08052196
[ 27] 0x00007f1b079aae71 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08040049
[ 28] 0x00007f1b079a0d25 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+07998757
[ 29] 0x00007f1b079a1211 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08000017
[ 30] 0x00007f1b079aa6ba /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038074
[ 31] 0x00007f1b079aa7b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038326
[ 32] 0x00007f1b07ad8e1b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09276955
[ 33] 0x00007f1b07adbd40 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09289024
[ 34] 0x00007f1b07d0b8b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11581622
[ 35] 0x00007f1b07df5da2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12541346
[ 36] 0x00007f1b07df6264 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12542564
[ 37] 0x00007f1b07df637d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12542845
[ 38] 0x00007f1b1a396df0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+01236464 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000208
[ 39] 0x00007f1b1a398a02 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+01243650 _ZN8Mfh_file19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000306
[ 40] 0x00007f1ae1ee41ca /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05128650
[ 41] 0x00007f1ae1e640cf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04604111
[ 42] 0x00007f1ae1e668ec /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04614380
[ 43] 0x00007f1ae1e6cc49 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04639817
[ 44] 0x00007f1ae1e650d5 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+04608213
[ 45] 0x00007f1ae1fb528f /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05984911
[ 46] 0x00007f1ae1fb1872 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcos_impl.so+05970034
[ 47] 0x00007f1b1a3069da /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_dispatcher.so+00645594 _ZN18Mfh_MATLAB_fn_impl19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000266
[ 48] 0x00007f1b07f7cd9e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14142878
[ 49] 0x00007f1b07f81125 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14160165
[ 50] 0x00007f1b07f7cef5 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14143221
[ 51] 0x00007f1b07f8687f /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+14182527
[ 52] 0x00007f1b07e097d8 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+12621784
[ 53] 0x00007f1b07f548eb /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13977835
[ 54] 0x00007f1b07ee3f3d /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13516605
[ 55] 0x00007f1b07ee5eb0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+13524656
[ 56] 0x00007f1b079abdc0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08043968
[ 57] 0x00007f1b079adde4 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08052196
[ 58] 0x00007f1b079aae71 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08040049
[ 59] 0x00007f1b079a0d25 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+07998757
[ 60] 0x00007f1b079a1211 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08000017
[ 61] 0x00007f1b079aa6ba /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038074
[ 62] 0x00007f1b079aa7b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+08038326
[ 63] 0x00007f1b07ad8e1b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09276955
[ 64] 0x00007f1b07adbd40 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+09289024
[ 65] 0x00007f1b07d0b8b6 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11581622
[ 66] 0x00007f1b07cb784c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11237452
[ 67] 0x00007f1b07cb850c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11240716
[ 68] 0x00007f1b07d59a64 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11901540
[ 69] 0x00007f1b07d59c29 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwm_lxe.so+11901993
[ 70] 0x00007f1b1bb53489 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00595081
[ 71] 0x00007f1b1bbb3762 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00989026 _ZN3iqm14UserEvalPlugin7executeEP15inWorkSpace_tag+00000642
[ 72] 0x00007f1a91b6f31c /usr/local/MATLAB/R2021b/bin/glnxa64/libnativejmi.so+01008412 _ZN9nativejmi17JmiUserEvalPlugin7executeEP15inWorkSpace_tag+00000028
[ 73] 0x00007f1b1bb8ebdf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00838623
[ 74] 0x00007f1b1bb9a846 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00886854
[ 75] 0x00007f1b1bb5e516 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00640278
[ 76] 0x00007f1b1c9ccc02 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00302082
[ 77] 0x00007f1b1c9cd543 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00304451
[ 78] 0x00007f1b1c9d37f2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00329714 _Z22mnGetCommandLineBufferbRbN7mwboost8optionalIKP15inWorkSpace_tagEEbRKNS0_9function2IN6mlutil14cmddistributor17inExecutionStatusERKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEES4_EE+00000274
[ 79] 0x00007f1b1c9d3a92 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwbridge.so+00330386 _Z8mnParserv+00000482
[ 80] 0x00007f1b1b774307 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00946951
[ 81] 0x00007f1b256b3bd0 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02833360 _ZNK7mwboost9function0IvEclEv+00000032
[ 82] 0x00007f1b256bba10 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02865680 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN7mwboost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000048
[ 83] 0x00007f1b256bbab8 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmvm.so+02865848 _ZNSt17_Function_handlerIFN7mwboost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000024
[ 84] 0x00007f1b1bbaf14b /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00971083 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000091
[ 85] 0x00007f1b1b771f65 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00937829
[ 86] 0x00007f1b1bb8ebdf /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00838623
[ 87] 0x00007f1b1bb5c3cc /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00631756
[ 88] 0x00007f1b1bb5ce60 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwiqm.so+00634464
[ 89] 0x00007f1b1b75c30e /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00848654
[ 90] 0x00007f1b1b75c92c /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00850220
[ 91] 0x00007f1b1b75cba2 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwmcr.so+00850850
[ 92] 0x00007f1b2360f8a7 /usr/local/MATLAB/R2021b/bin/glnxa64/libmwboost_thread.so.1.72.0+00063655
[ 93] 0x00007f1b242969cb /usr/lib/libc.so.6+00616907
[ 94] 0x00007f1b2431aa0c /usr/lib/libc.so.6+01157644
One likely culprit is recent updates to glibc that don’t play well with Matlab.
Currently, this really breakes any usage of Matlab for our group. Maybe a recompile of the libiomp5.so might already fix it?
Looks like a Matlab bug. New installation did not fix the problem. openmp, linux, bug, matlab, matrix MATLAB Answers — New Questions
How to Run an Indeterminate Number of Simulations with parsim?
I want to use parsim in Simulink to run a variable (non-fixed) number of simulations, where the number of iterations may depend on the results of each simulation. Normally, parsim requires you to specify all simulation input objects ahead of time, but I need a way to dynamically trigger additional simulations based on logic within the simulation itself.
Is there a way to achieve this kind of adaptive or recursive simulation workflow using parsim?I want to use parsim in Simulink to run a variable (non-fixed) number of simulations, where the number of iterations may depend on the results of each simulation. Normally, parsim requires you to specify all simulation input objects ahead of time, but I need a way to dynamically trigger additional simulations based on logic within the simulation itself.
Is there a way to achieve this kind of adaptive or recursive simulation workflow using parsim? I want to use parsim in Simulink to run a variable (non-fixed) number of simulations, where the number of iterations may depend on the results of each simulation. Normally, parsim requires you to specify all simulation input objects ahead of time, but I need a way to dynamically trigger additional simulations based on logic within the simulation itself.
Is there a way to achieve this kind of adaptive or recursive simulation workflow using parsim? MATLAB Answers — New Questions









