Category: News
Why do I receive a connection error when accessing Add-Ons Explorer or the Software Support Installer?
Why do I receive a connection error when accessing Add-Ons Explorer or the Software Support Installer?Why do I receive a connection error when accessing Add-Ons Explorer or the Software Support Installer? Why do I receive a connection error when accessing Add-Ons Explorer or the Software Support Installer? MATLAB Answers — New Questions
Timetables not fully supported by plot tools?
Hello,
I am just wondering why when plotting a timetable with duration as time axis, The "basic fitting" and "data statistics" tool in plot windos are not available.
Does this mean that timetables have some limitations compared to arrays or tables? I am asking because I need to decide if timetable is the right data structure for my use case. Basically I am importing some measuremet datas from sensors acquisition which have timestamps. In the past I would have just used plain arrays, but I see that in modern Matlab timetables are somehow suggested for these use cases.Hello,
I am just wondering why when plotting a timetable with duration as time axis, The "basic fitting" and "data statistics" tool in plot windos are not available.
Does this mean that timetables have some limitations compared to arrays or tables? I am asking because I need to decide if timetable is the right data structure for my use case. Basically I am importing some measuremet datas from sensors acquisition which have timestamps. In the past I would have just used plain arrays, but I see that in modern Matlab timetables are somehow suggested for these use cases. Hello,
I am just wondering why when plotting a timetable with duration as time axis, The "basic fitting" and "data statistics" tool in plot windos are not available.
Does this mean that timetables have some limitations compared to arrays or tables? I am asking because I need to decide if timetable is the right data structure for my use case. Basically I am importing some measuremet datas from sensors acquisition which have timestamps. In the past I would have just used plain arrays, but I see that in modern Matlab timetables are somehow suggested for these use cases. time series, data import MATLAB Answers — New Questions
General Blockproc questions that aren’t in the documentation
I have 4 question’s regarding Blockproc.
1: When you take an image and break it up into smaller images (ROI’s) to use blockproc, what is the exact order of the smaller images
In my image below, the yellow box is "top-left"
Q2: Also, is there away to show grid lines like above just to verify where blockproc has operated?
Q3: Is it possible to use blockproc and NOT operate on all the smaller images, i.e. just the images where the cyan circles are?
Q4: Can you combine functions so blockproc doesn’t have to run twice, e.g.:
fun = @(block_struct) mean2(block_struct.data);
AVG = blockproc(IM2,[500 500],fun,’UseParallel’,true);
fun2 = @(block_struct) std2(block_struct.data);
SD = blockproc(IM2,[500 500],fun2,’UseParallel’,true)
Thanks
JasonI have 4 question’s regarding Blockproc.
1: When you take an image and break it up into smaller images (ROI’s) to use blockproc, what is the exact order of the smaller images
In my image below, the yellow box is "top-left"
Q2: Also, is there away to show grid lines like above just to verify where blockproc has operated?
Q3: Is it possible to use blockproc and NOT operate on all the smaller images, i.e. just the images where the cyan circles are?
Q4: Can you combine functions so blockproc doesn’t have to run twice, e.g.:
fun = @(block_struct) mean2(block_struct.data);
AVG = blockproc(IM2,[500 500],fun,’UseParallel’,true);
fun2 = @(block_struct) std2(block_struct.data);
SD = blockproc(IM2,[500 500],fun2,’UseParallel’,true)
Thanks
Jason I have 4 question’s regarding Blockproc.
1: When you take an image and break it up into smaller images (ROI’s) to use blockproc, what is the exact order of the smaller images
In my image below, the yellow box is "top-left"
Q2: Also, is there away to show grid lines like above just to verify where blockproc has operated?
Q3: Is it possible to use blockproc and NOT operate on all the smaller images, i.e. just the images where the cyan circles are?
Q4: Can you combine functions so blockproc doesn’t have to run twice, e.g.:
fun = @(block_struct) mean2(block_struct.data);
AVG = blockproc(IM2,[500 500],fun,’UseParallel’,true);
fun2 = @(block_struct) std2(block_struct.data);
SD = blockproc(IM2,[500 500],fun2,’UseParallel’,true)
Thanks
Jason blockproc MATLAB Answers — New Questions
Why do I receive a connection error when launching MATLAB with Login Named User enabled?
Why do I receive the following error when launching MATLAB with Login Named User (LNU) enabled:
Connection ErrorWhy do I receive the following error when launching MATLAB with Login Named User (LNU) enabled:
Connection Error Why do I receive the following error when launching MATLAB with Login Named User (LNU) enabled:
Connection Error login, named, user, lnu, licensing, servers MATLAB Answers — New Questions
Teams Integrates Viva Engage Communities
Communities Show Up in Teams Navigation View
In message center notification MC1218423 (16 January 2026, Microsoft 365 roadmap item 513274), we hear that Teams is adding Viva Engage (the rebranded Yammer) communities to its navigation view. The change applies to all Microsoft 365 tenants that have Viva Engage communities and will roll out in general availability from March 2026.
If you use the unified chat and channels view, communities appear in a new section within the Chat list. If, like me, you prefer to keep chat and channels separate, the communities show up in a new section after the set of teams (Figure 1). If any communities are favored in Viva Engage, they show up in Teams favorites and notifications for posts to communities show up in the Teams activity feed. The idea is to make it quicker and easier for Teams users to collaborate through Viva Engage communities.

Using Viva Engage in Teams
Clicking on a community in the Teams navigation bar opens the community in much the same way as when using the Communities app. The communities app first appeared in 2020 and essentially presents the Viva Engage web site in a pane within Teams (Figure 2).

Figure 3 shows the app with the same community open. Some minor differences in layout and presentation are obvious, but users won’t find it difficult to move from one to the other.

Just like with the community app, administrators can update community settings. For instance, I changed a community name, picture, description, and membership through Teams. (Figure 4). Including the updated community name (Microsoft 365 Questions to replace Office 365 Questions), everything synchronized without a hitch.

Enabling or Disabling the Viva Engage Integration
By default, Microsoft enables the integration. To disable the integration, go to the settings and policies section of the Teams admin center, open messaging settings, and set the slider control to off (Figure 5). Remember to save the updated setting.

Like the changes for most Teams settings, it can take several hours before the change is effective across a tenant. Disabling the integration does not affect the Communities app, so Viva Engage users can still participate in discussions from Teams.
The setting doesn’t seem to be manageable through PowerShell. However, given that it’s two months since Microsoft last updated the MicrosoftTeams module (to 7.5), an update to support the Viva Engage integration will probably be available soon.
Who Wants a Viva Engage Integration with Teams?
I suspect that the demand for the integration comes from within Microsoft, and primarily for internal political reasons. For the past several years, we’ve seen several initiatives to integrate Viva Engage more closely with Teams (for example, to power the Q&A app for meetings). At times, it seems like these attempts are to justify the existence of Viva Engage and to stop it becoming the third application in the Viva suite to receive its retirement papers.
There’s no doubt that some large organizations love the way that Viva Engage works. These organizations usually adopted Yammer either before or just after its 2012 acquisition by Microsoft and invested heavily in exploiting the platform. The 2012-2015 period was an impoverished period for collaboration within Office 365 (Microsoft 365). Things are very different today, especially because of the success of the Teams juggernaut. Once Teams came along in 2017, it seemed like Yammer’s days were limited. Its survival is impressive, but how long can it continue? Integrations like this might help some organizations who use both Viva Engage and Teams, but it’s unimportant in the grand scheme of Microsoft 365 and you’d wonder why engineering time was dedicated to this work instead of fixing more important issues.
Learn about managing Exchange Online 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.
Can I remove MATLAB DMR files from the temp directory?
I have been using MATLAB & Simulink for a few months, and my C drive now contains many MATLAB temporary files with the extension .dmr. Can I delete these files?I have been using MATLAB & Simulink for a few months, and my C drive now contains many MATLAB temporary files with the extension .dmr. Can I delete these files? I have been using MATLAB & Simulink for a few months, and my C drive now contains many MATLAB temporary files with the extension .dmr. Can I delete these files? dmr, tempfile, simulink, sdi MATLAB Answers — New Questions
Dealing with Duration format
I have a file containing the values of the position of the body’s center of pressure, calculated during the trial. I would like to plot the time elapsed (which has the format ‘0:0:0:064’) vs the position. When I open the file (.xlsx) with "readtable", it reads me all the values as "string" and not numbers. I tried to solve this with "str2double", and while this works for the position column, is useless for the time elapsed. When I change the extension (i.e. .csv orb .txt) it converts all the durations into NaNs, even though in the "Import Data" mask it is written at the top of the time elapsed column "duration". As a result, I cannot plot the time on the x-axis.
If I run this piece of code for example:
data = readtable("AdaptationTestProva.xlsx");
x = str2double(data.x_StaticVR_RawMediolateralAxis);
y = str2double(data.TimeElapsed);
plot(y,x)
I get an empty graph.
What can I do to get a standard graph with a usable elapsed time?
If this can be helpful, I’ll leave attached an example of the file.I have a file containing the values of the position of the body’s center of pressure, calculated during the trial. I would like to plot the time elapsed (which has the format ‘0:0:0:064’) vs the position. When I open the file (.xlsx) with "readtable", it reads me all the values as "string" and not numbers. I tried to solve this with "str2double", and while this works for the position column, is useless for the time elapsed. When I change the extension (i.e. .csv orb .txt) it converts all the durations into NaNs, even though in the "Import Data" mask it is written at the top of the time elapsed column "duration". As a result, I cannot plot the time on the x-axis.
If I run this piece of code for example:
data = readtable("AdaptationTestProva.xlsx");
x = str2double(data.x_StaticVR_RawMediolateralAxis);
y = str2double(data.TimeElapsed);
plot(y,x)
I get an empty graph.
What can I do to get a standard graph with a usable elapsed time?
If this can be helpful, I’ll leave attached an example of the file. I have a file containing the values of the position of the body’s center of pressure, calculated during the trial. I would like to plot the time elapsed (which has the format ‘0:0:0:064’) vs the position. When I open the file (.xlsx) with "readtable", it reads me all the values as "string" and not numbers. I tried to solve this with "str2double", and while this works for the position column, is useless for the time elapsed. When I change the extension (i.e. .csv orb .txt) it converts all the durations into NaNs, even though in the "Import Data" mask it is written at the top of the time elapsed column "duration". As a result, I cannot plot the time on the x-axis.
If I run this piece of code for example:
data = readtable("AdaptationTestProva.xlsx");
x = str2double(data.x_StaticVR_RawMediolateralAxis);
y = str2double(data.TimeElapsed);
plot(y,x)
I get an empty graph.
What can I do to get a standard graph with a usable elapsed time?
If this can be helpful, I’ll leave attached an example of the file. #duration, #plot, #conversion MATLAB Answers — New Questions
How can I set an expiration or override date for my license file?
How can I set an expiration (override) date for my license file? Can this date be different from the expiration date of the license itself?How can I set an expiration (override) date for my license file? Can this date be different from the expiration date of the license itself? How can I set an expiration (override) date for my license file? Can this date be different from the expiration date of the license itself? MATLAB Answers — New Questions
How do I license my Docker container using a Campus-Wide or Startup Individual license?
How do I license my Docker container using a Campus-Wide or Startup Individual license?How do I license my Docker container using a Campus-Wide or Startup Individual license? How do I license my Docker container using a Campus-Wide or Startup Individual license? MATLAB Answers — New Questions
In MATLAB, when an operation is manually terminated by the user via actions like Ctrl+C, the command line will print a prompt message that includes the relevant line number in
In MATLAB, when an operation is manually terminated by the user via actions like Ctrl+C, the command line will print a prompt message that includes the relevant line number in legacy versions (e.g., R2016); however, this line number is omitted from the prompt in newer releases such as R2022.
function custom_interrupt_info()
disp(‘程序启动,按下Ctrl+C可中止并显示详细行号…’);
iteration_num = 100000; % 模拟耗时迭代
try
% #################### 你的核心业务代码 ####################
for i = 1:iteration_num
disp([‘当前执行第 ‘, num2str(i), ‘ 次迭代’]);
pause(0.03); % 模拟耗时操作,方便触发Ctrl+C
temp_result = i * 2; % 示例计算逻辑
end
% ##########################################################
finally
% 关键:无论是否中止,都获取并输出完整中止信息(含行号)
disp(‘=====================================================’);
disp(‘==================== 中止详细信息 ====================’);
stack_info = dbstack; % 提取堆栈信息(核心:获取行号)
if ~isempty(stack_info)
% 输出自定义详细信息,包含行号、文件、函数
disp([‘✅ 中止文件:’, stack_info(1).file]);
disp([‘✅ 中止行号:’, num2str(stack_info(1).line)]);
disp([‘✅ 所在脚本/函数:’, stack_info(1).name]);
else
disp(‘✅ 程序正常结束,无中止操作’);
end
disp(‘=====================================================’);
end
endIn MATLAB, when an operation is manually terminated by the user via actions like Ctrl+C, the command line will print a prompt message that includes the relevant line number in legacy versions (e.g., R2016); however, this line number is omitted from the prompt in newer releases such as R2022.
function custom_interrupt_info()
disp(‘程序启动,按下Ctrl+C可中止并显示详细行号…’);
iteration_num = 100000; % 模拟耗时迭代
try
% #################### 你的核心业务代码 ####################
for i = 1:iteration_num
disp([‘当前执行第 ‘, num2str(i), ‘ 次迭代’]);
pause(0.03); % 模拟耗时操作,方便触发Ctrl+C
temp_result = i * 2; % 示例计算逻辑
end
% ##########################################################
finally
% 关键:无论是否中止,都获取并输出完整中止信息(含行号)
disp(‘=====================================================’);
disp(‘==================== 中止详细信息 ====================’);
stack_info = dbstack; % 提取堆栈信息(核心:获取行号)
if ~isempty(stack_info)
% 输出自定义详细信息,包含行号、文件、函数
disp([‘✅ 中止文件:’, stack_info(1).file]);
disp([‘✅ 中止行号:’, num2str(stack_info(1).line)]);
disp([‘✅ 所在脚本/函数:’, stack_info(1).name]);
else
disp(‘✅ 程序正常结束,无中止操作’);
end
disp(‘=====================================================’);
end
end In MATLAB, when an operation is manually terminated by the user via actions like Ctrl+C, the command line will print a prompt message that includes the relevant line number in legacy versions (e.g., R2016); however, this line number is omitted from the prompt in newer releases such as R2022.
function custom_interrupt_info()
disp(‘程序启动,按下Ctrl+C可中止并显示详细行号…’);
iteration_num = 100000; % 模拟耗时迭代
try
% #################### 你的核心业务代码 ####################
for i = 1:iteration_num
disp([‘当前执行第 ‘, num2str(i), ‘ 次迭代’]);
pause(0.03); % 模拟耗时操作,方便触发Ctrl+C
temp_result = i * 2; % 示例计算逻辑
end
% ##########################################################
finally
% 关键:无论是否中止,都获取并输出完整中止信息(含行号)
disp(‘=====================================================’);
disp(‘==================== 中止详细信息 ====================’);
stack_info = dbstack; % 提取堆栈信息(核心:获取行号)
if ~isempty(stack_info)
% 输出自定义详细信息,包含行号、文件、函数
disp([‘✅ 中止文件:’, stack_info(1).file]);
disp([‘✅ 中止行号:’, num2str(stack_info(1).line)]);
disp([‘✅ 所在脚本/函数:’, stack_info(1).name]);
else
disp(‘✅ 程序正常结束,无中止操作’);
end
disp(‘=====================================================’);
end
end line number, prompt message ctrl+c MATLAB Answers — New Questions
Automating Microsoft 365 with PowerShell Update 20
Part of the Office 365 for IT Pros February 2026 Release
The Office 365 for IT Pros team is delighted to announce that update #20 for the Automating Microsoft 365 with PowerShell eBook is available for subscribers to download. The updated files are available to subscribers of both Automating Microsoft 365 with PowerShell and Office 365 for IT Pros (2026 edition). We will issue the February 2026 update for the main book on February 1, 2026.
Please use the link in the receipt emailed after purchase or your Gumroad.com account to fetch the updated PDF and EPUB files.
We have also updated the Kindle and Paperback editions that are available from Amazon.com. Subscribers who purchase through Gumroad and want to read the book on Kindle devices do so by transferring the EPUB file to their device.
Updates and Revisions in Automating Microsoft 365 with PowerShell #20
Like all our monthly releases, update #20 contains a mixture of new material, updates, and revisions (including a few fixes). The book now includes coverage of the create Site Graph API mentioned last month. Since the API first appeared, Microsoft decided to drop the ability to create new sites linked to Microsoft 365 Groups. In addition, the API sadly lacks some essential functionality, such as adding members to newly created sites.
A new section addresses the question of how to create channel meetings for Teams. The feature is an example of an internal API in action because it’s not possible to create the same kind of channel meeting with the Graph APIs. The workaround is to create a personal meeting (a regular calendar event) and then post a notice about the meeting in the channel. This works, but the meeting doesn’t appear in the channel calendar.
New Version of the Microsoft Graph PowerShell SDK
Soon after we announced the availability of update #19 for Automating Microsoft 365 with PowerShell in December, Microsoft shipped V2.34 of the Microsoft Graph PowerShell SDK. The updated module appeared just 12 days after V2.33, so it came as a complete surprise. Soon afterwards, we reported that security was the prime driver for the accelerated release. However, the PowerShell gallery reports nearly 30 downloads of V2.33, which indicates that quite a number of people haven’t got the message that they should upgrade to V2.34.
I’ve been using V2.34 since its release and haven’t detected any problems over and above known issues, like the removal of the BodyParameter parameter for several directory-related cmdlets.
Exchange Online PowerShell and the Graph SDK
Microsoft updated the Exchange Online PowerShell module to V3.9.2 on January 5, 2026, The only real change is the introduction of the EXOModuleBasePath parameter to point to the folder where the module downloads its temporary module files on startup. I assume that the change is intended to give more control over where these files go. For example, if you run:
Connect-ExchangeOnline -EXOModuleBasePath c:temp
You’ll end up with a temporary folder like C:TemptmpEXO_gbdobe5j.d3j where Exchange Online stores downloaded definitions for many of its PowerShell cmdlets (functions).
OperationStopped: Could not load file or assembly 'C:Program FilesPowerShellModulesExchangeOnlineManagement3.9.2netCoreMicrosoft.Identity.Client.dll'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
Or maybe the complaint about an error acquiring a token shown in Figure 1.

Running Connect-MgGraph after connecting to Exchange Online does not have the same problem. Assembly clashes remain a problem for Microsoft 365 PowerShell and are evidence of how teams in the world’s largest software company can utterly fail to cooperate around the use of common components. It’s a blessed mystery
If you’re looking for PowerShell code examples for Microsoft 365, why not visit the Office 365 for IT Pros GitHub repository. The repository holds over 300 scripts covering a wide range of situations.
TI C2000 I2C Receive with Interrupt not working (Simulink)
Hello,
I have a setup with a ESP32S3 Dev-Module as I²C master and a TI C2000 TMS320F28069M board as a I²C slave. The ESP32 is supposed to send the C2000 several signal. Each signal has three bytes. First a comand byte to separate the signals and then two bytes as payload (uint16 or int16). The C2000-code is implemented in Simulink. In the future, the C2000 shall respond to certain signals with data.
My first issue is that the I2C RCV (Receive) Block outputs my signals in a way that the the byte order changes. For example, the comand byte which is supposed to be always the first byte is sometimes the second or third byte. The order changes throughout restarts and is not predictable. As a solution to this problem I want to use I²C interrupts. This brings me to my second and main question:
I can not get the I²C communication to work with the interrupts. My ESP32 stops sending data as soon as the C2000 code with I²C interrupts is uploaded and running. It seems like the I²C ISR of the C2000 is never called and somehow stops the ESP32 from sending further messages.
To diagnose my problem, I already did the following without success:
Added a free-running counter in the ISR-function to see if the function gets called. The counter stays at zero.
Analyzed and used code-fragments of the C2000 c28x_i2c_eeprom_interrupt example in my code.
Checked I²C with oscilloscope and bus-decoder: Without the Interrupts, the I²C Messages are transmitted and acknowledged. With Interrupt, a successful transmission happens exactly one time, then stops. SCL stays low, SDA stays high.
Tried different Interrupts, tried different interrupt settings.
My guesses:
Wrong settings/configuration of ISR/hardware /some registers
Timing problems
Some kind of incompactibility between C2000/ESP32
User error
I attached 4 screenshots of my settings, the my code-example and two screenshots without ISR and two with ISR of my oscilloscope.
I prepared a small Simulink file with my code. If you want to run the code, open "Nur_I2C.slx". Open the subsystem. There are two parts, one with ISR and one without. Just comment one part and uncomment the other. Everything after the delay is for the differentiation of the signals.Hello,
I have a setup with a ESP32S3 Dev-Module as I²C master and a TI C2000 TMS320F28069M board as a I²C slave. The ESP32 is supposed to send the C2000 several signal. Each signal has three bytes. First a comand byte to separate the signals and then two bytes as payload (uint16 or int16). The C2000-code is implemented in Simulink. In the future, the C2000 shall respond to certain signals with data.
My first issue is that the I2C RCV (Receive) Block outputs my signals in a way that the the byte order changes. For example, the comand byte which is supposed to be always the first byte is sometimes the second or third byte. The order changes throughout restarts and is not predictable. As a solution to this problem I want to use I²C interrupts. This brings me to my second and main question:
I can not get the I²C communication to work with the interrupts. My ESP32 stops sending data as soon as the C2000 code with I²C interrupts is uploaded and running. It seems like the I²C ISR of the C2000 is never called and somehow stops the ESP32 from sending further messages.
To diagnose my problem, I already did the following without success:
Added a free-running counter in the ISR-function to see if the function gets called. The counter stays at zero.
Analyzed and used code-fragments of the C2000 c28x_i2c_eeprom_interrupt example in my code.
Checked I²C with oscilloscope and bus-decoder: Without the Interrupts, the I²C Messages are transmitted and acknowledged. With Interrupt, a successful transmission happens exactly one time, then stops. SCL stays low, SDA stays high.
Tried different Interrupts, tried different interrupt settings.
My guesses:
Wrong settings/configuration of ISR/hardware /some registers
Timing problems
Some kind of incompactibility between C2000/ESP32
User error
I attached 4 screenshots of my settings, the my code-example and two screenshots without ISR and two with ISR of my oscilloscope.
I prepared a small Simulink file with my code. If you want to run the code, open "Nur_I2C.slx". Open the subsystem. There are two parts, one with ISR and one without. Just comment one part and uncomment the other. Everything after the delay is for the differentiation of the signals. Hello,
I have a setup with a ESP32S3 Dev-Module as I²C master and a TI C2000 TMS320F28069M board as a I²C slave. The ESP32 is supposed to send the C2000 several signal. Each signal has three bytes. First a comand byte to separate the signals and then two bytes as payload (uint16 or int16). The C2000-code is implemented in Simulink. In the future, the C2000 shall respond to certain signals with data.
My first issue is that the I2C RCV (Receive) Block outputs my signals in a way that the the byte order changes. For example, the comand byte which is supposed to be always the first byte is sometimes the second or third byte. The order changes throughout restarts and is not predictable. As a solution to this problem I want to use I²C interrupts. This brings me to my second and main question:
I can not get the I²C communication to work with the interrupts. My ESP32 stops sending data as soon as the C2000 code with I²C interrupts is uploaded and running. It seems like the I²C ISR of the C2000 is never called and somehow stops the ESP32 from sending further messages.
To diagnose my problem, I already did the following without success:
Added a free-running counter in the ISR-function to see if the function gets called. The counter stays at zero.
Analyzed and used code-fragments of the C2000 c28x_i2c_eeprom_interrupt example in my code.
Checked I²C with oscilloscope and bus-decoder: Without the Interrupts, the I²C Messages are transmitted and acknowledged. With Interrupt, a successful transmission happens exactly one time, then stops. SCL stays low, SDA stays high.
Tried different Interrupts, tried different interrupt settings.
My guesses:
Wrong settings/configuration of ISR/hardware /some registers
Timing problems
Some kind of incompactibility between C2000/ESP32
User error
I attached 4 screenshots of my settings, the my code-example and two screenshots without ISR and two with ISR of my oscilloscope.
I prepared a small Simulink file with my code. If you want to run the code, open "Nur_I2C.slx". Open the subsystem. There are two parts, one with ISR and one without. Just comment one part and uncomment the other. Everything after the delay is for the differentiation of the signals. c2000, i2c, i²c, communication, hardware, isr, interrupt MATLAB Answers — New Questions
Is there any matlab documentation that can explain why multiplying empty arrays gives zero matrices?
Is there any matlab documentation that can explain why multiplying empty arrays gives zero matrices?
Here is the sample
A=double.empty(5,0);
B=double.empty(0,5);
C=A*B
C =
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0Is there any matlab documentation that can explain why multiplying empty arrays gives zero matrices?
Here is the sample
A=double.empty(5,0);
B=double.empty(0,5);
C=A*B
C =
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0 Is there any matlab documentation that can explain why multiplying empty arrays gives zero matrices?
Here is the sample
A=double.empty(5,0);
B=double.empty(0,5);
C=A*B
C =
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0 mtimes, empty, arithmetic operations, operators and elementary operations MATLAB Answers — New Questions
I want to calculate efficiency, response time, and thd for Dynamic voltage restorer with FLC for power quality improvement.
I am done with the simulink,now try to calculate the thd ,efficiency and response time.i tried but cannot calculate.I am done with the simulink,now try to calculate the thd ,efficiency and response time.i tried but cannot calculate. I am done with the simulink,now try to calculate the thd ,efficiency and response time.i tried but cannot calculate. simulink, matlab MATLAB Answers — New Questions
Generate a Weekly Report of Role Assignments
Use Email to Circulate Details of Role Assignments and Removals
Writing about the arrival of the Teams external collaboration role, I made the point that it’s a good idea to conduct a periodic review of role assignments within Microsoft 365 tenants to make sure that people don’t cling onto roles when those roles are no longer required. Well, it’s also a good idea to keep an eye on role assignments (additions and removals) as they occur.
Reviewing a complete Entra ID role assignment report is one way to find unnecessary roles assignments, but busy tenant administrators might not have the time to check each assignment. Dealing with just the assignment changes that occur within the last week is a more achievable task. Fortunately, the work involved in generating such a report and delivering it via email isn’t very difficult.
Accessing Role Assignment Audit Records
Entra ID captures audit records every time an administrator creates a new role assignment or removes an existing role assignment. The audit records are available through the Entra admin center or programmatically through a Graph API. The audit records also flow through to the unified audit log, where the data is accessible through the Purview audit solution, the Search-UnifiedAuditLog cmdlet, and the AuditLogQuery Graph API. Microsoft is dealing with some known issues in the AuditLogQuery API at present, so that option is not recommended.
I like the idea of automating tasks that should be performed regularly and prefer to use Azure Automation to run procedures on a dependable scheduled basis. To keep things simple, I decided to avoid using the Search-UnifiedAuditLog cmdlet and retrieve the audit data from Entra ID instead. This approach allows me to use the Microsoft Graph PowerShell SDK for everything and avoid any possibility of assembly clashes.
After connecting to the Graph with the AuditLog.Read.All scope, this command finds all role assignment addition and removal records for the last week:
# Retrieve role assignment events from the last week
$StartDate = (Get-Date).AddDays(-7).toString('yyyy-MM-dd')
Write-Output "Checking for role assignments in the last week since $StartDate..."
[array]$Records = Get-MgAuditLogDirectoryAudit -All -Filter `
"(activityDisplayName eq 'Add member to role' or activityDisplayName eq 'Remove member from role') and ActivityDateTime gt $StartDate"
An Entra ID audit record looks like this:
ActivityDateTime : 14/01/2026 14:42:43
ActivityDisplayName : Add member to role
AdditionalDetails : {}
Category : RoleManagement
CorrelationId : 6f5d5a61-89af-46f2-af4c-b03e08fbb4c2
Id : Directory_6f5d5a61-89af-46f2-af4c-b03e08fbb4c2_AH36X_123650044
InitiatedBy : Microsoft.Graph.PowerShell.Models.MicrosoftGraphAuditActivityInitiator
LoggedByService : Core Directory
OperationType : Assign
Result : success
ResultReason :
TargetResources : {4adf6057-95da-430a-8757-6a58c85e13d4, 53add08e-5b0c-4276-a582-9ce02fb6c947}
AdditionalProperties : {}
Like with any audit record, some processing is required to extract the interesting information. For example, the targetResources property holds details of the user account and role involved in the assignment:
Id Type UserPrincipalName -- ---- ----------------- 4adf6057-95da-430a-8757-6a58c85e13d4 User Michelle.Dubois@office365itpros.com 53add08e-5b0c-4276-a582-9ce02fb6c947 Role
The InitiatedBy property holds details of the process or user responsible for initiating the change. If you use Entra Privileged Identity Management, many of the changes are made by an enterprise app called MS-PIM (service principal ddfe4cbb-47fa-4aa0-95c0-430644c7dc5d).
Highlighting Critical Role Assignments
After extracting information from the audit records, you can format the data in whatever way makes sense to highlight it to administrators. For example, an assignment of the Global Reader role is probably not very exciting and worth much attention, but the assignment of a workload administrative role like SharePoint administrator or Teams administrator is a much more important event. Other critical roles include Privileged Role administrator and security administrator. To highlight assignments for critical roles (defined in an array), the processing adds a suitable icon to include in the output.
Bringing everything together, we can generate an Excel worksheet (if the ImportExcel module is available) or CSV file and attach it to an email sent to interested parties. By adding the runbook to a suitable Azure Automation schedule, we can assure that the weekly report is delivered to mailboxes (Figure 1) at a suitable time (9AM on Monday seems good).

Access to the Script to Send the Weekly Role Assignment Report
If you’d like a copy of the complete script, you can download it from the Office 365 GitHub repository. The code runs interactively and as an Azure Automation runbook. If you run the script interactively, the code sends the message from the mailbox of the signed-in account. Make sure that you update the code with a suitable destination address for your tenant.
PS. I am scheduled to speak about using Azure Automation with Microsoft 365 at the Microsoft 365 Community Conference in Orlando in April. If you’d like to come along, you can use the code REDMOND150 to get a $150 discount.
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.
HDL multi rate simulation
I’m having trouble understanding how to speed up the simulation when everything is running at the hardware rate. I have a clock interface that is running at 50 MHz and I have simulink sampling rates set to 20e-9 s and then I have enabled the setting "Treat Simulink rates as actual hardware rates" in order to model to communication interface such as the AXI4 master correctly. However, the simulation comes to crawl even though controller and plant can be run at a slower rate. Is there a way I can speed up the simulation while maintaining cycle accurate fidelity?I’m having trouble understanding how to speed up the simulation when everything is running at the hardware rate. I have a clock interface that is running at 50 MHz and I have simulink sampling rates set to 20e-9 s and then I have enabled the setting "Treat Simulink rates as actual hardware rates" in order to model to communication interface such as the AXI4 master correctly. However, the simulation comes to crawl even though controller and plant can be run at a slower rate. Is there a way I can speed up the simulation while maintaining cycle accurate fidelity? I’m having trouble understanding how to speed up the simulation when everything is running at the hardware rate. I have a clock interface that is running at 50 MHz and I have simulink sampling rates set to 20e-9 s and then I have enabled the setting "Treat Simulink rates as actual hardware rates" in order to model to communication interface such as the AXI4 master correctly. However, the simulation comes to crawl even though controller and plant can be run at a slower rate. Is there a way I can speed up the simulation while maintaining cycle accurate fidelity? hdl coder MATLAB Answers — New Questions
Eigenvalue analysis of Outer-tub dynamic assembly of Front load washing machine
Hi,
Currently , I am working on an MBD system (Outer-tub dynamic assembly of Front Load washing machine, with two hanging linear springs and 3 friction dampers). I want to compute the linearized dynamic model to perform the Eigenvalue analysis. I am following a research paper by Prof. Bae (An Implementation method of linearized equations of motion for multibody systems with closed loops). I compared the computed stiffness matric with Recurdyn computed stiffness matrix. RecurDyn provided two different stiffness matrices (one for static analysis and another one for Eigenvalue analysis). My stiffness matrix (Python code as Prof Bae paper) is matching with the Recurdyn stiffness matrix computed for static analysis.
I want to know why are these two stiffness matrices of RecurDyn different, and How to compute them?Hi,
Currently , I am working on an MBD system (Outer-tub dynamic assembly of Front Load washing machine, with two hanging linear springs and 3 friction dampers). I want to compute the linearized dynamic model to perform the Eigenvalue analysis. I am following a research paper by Prof. Bae (An Implementation method of linearized equations of motion for multibody systems with closed loops). I compared the computed stiffness matric with Recurdyn computed stiffness matrix. RecurDyn provided two different stiffness matrices (one for static analysis and another one for Eigenvalue analysis). My stiffness matrix (Python code as Prof Bae paper) is matching with the Recurdyn stiffness matrix computed for static analysis.
I want to know why are these two stiffness matrices of RecurDyn different, and How to compute them? Hi,
Currently , I am working on an MBD system (Outer-tub dynamic assembly of Front Load washing machine, with two hanging linear springs and 3 friction dampers). I want to compute the linearized dynamic model to perform the Eigenvalue analysis. I am following a research paper by Prof. Bae (An Implementation method of linearized equations of motion for multibody systems with closed loops). I compared the computed stiffness matric with Recurdyn computed stiffness matrix. RecurDyn provided two different stiffness matrices (one for static analysis and another one for Eigenvalue analysis). My stiffness matrix (Python code as Prof Bae paper) is matching with the Recurdyn stiffness matrix computed for static analysis.
I want to know why are these two stiffness matrices of RecurDyn different, and How to compute them? linearized dynamic model, eigenvalue analysis, outer-tub dynamic assembly wit, washing machine, static equilibrium, linear and torsional springs MATLAB Answers — New Questions
How to call the Simulink Test results inside the ForEach module?
Hello, I want to use the test results from Simulink Test to perform custom evaluation criteria. My model uses a For Each subsystem externally to calculate the maximum and minimum SOC of individual cells within a battery pack in parallel. The battery SOC is an output of the model, and for each battery’s SOC, I can record and call it using the code below:
soc = test.sltest_simout.get(‘logsout’).get(‘soc’).Values.Data;
soc_max = soc(:,1);
soc_min = soc(:,2);
However, I also want to record the terminal voltage estimation error of a battery inside the For Each subsystem. This value is internal to the For Each subsystem and is not output to the outside of the model. If I try to call the test data in the same way as above, I get an ‘index exceeds 1’ error:
v_error = test.sltest_simout.get(‘logsout’).get(‘v_error’).Values.Data;
v_max_error = v_error(:,1);
v_max_error = v_error(:,2);
In Simulink Test, there are also two output results, but it seems that it calculates them channel by channel. So, how should I call the v_error test results?Hello, I want to use the test results from Simulink Test to perform custom evaluation criteria. My model uses a For Each subsystem externally to calculate the maximum and minimum SOC of individual cells within a battery pack in parallel. The battery SOC is an output of the model, and for each battery’s SOC, I can record and call it using the code below:
soc = test.sltest_simout.get(‘logsout’).get(‘soc’).Values.Data;
soc_max = soc(:,1);
soc_min = soc(:,2);
However, I also want to record the terminal voltage estimation error of a battery inside the For Each subsystem. This value is internal to the For Each subsystem and is not output to the outside of the model. If I try to call the test data in the same way as above, I get an ‘index exceeds 1’ error:
v_error = test.sltest_simout.get(‘logsout’).get(‘v_error’).Values.Data;
v_max_error = v_error(:,1);
v_max_error = v_error(:,2);
In Simulink Test, there are also two output results, but it seems that it calculates them channel by channel. So, how should I call the v_error test results? Hello, I want to use the test results from Simulink Test to perform custom evaluation criteria. My model uses a For Each subsystem externally to calculate the maximum and minimum SOC of individual cells within a battery pack in parallel. The battery SOC is an output of the model, and for each battery’s SOC, I can record and call it using the code below:
soc = test.sltest_simout.get(‘logsout’).get(‘soc’).Values.Data;
soc_max = soc(:,1);
soc_min = soc(:,2);
However, I also want to record the terminal voltage estimation error of a battery inside the For Each subsystem. This value is internal to the For Each subsystem and is not output to the outside of the model. If I try to call the test data in the same way as above, I get an ‘index exceeds 1’ error:
v_error = test.sltest_simout.get(‘logsout’).get(‘v_error’).Values.Data;
v_max_error = v_error(:,1);
v_max_error = v_error(:,2);
In Simulink Test, there are also two output results, but it seems that it calculates them channel by channel. So, how should I call the v_error test results? simulink test, simulink, bms MATLAB Answers — New Questions
Guidance on Space Vector PWM Implementation in Simulink
Dear MathWorks Team,
I am writing to seek guidance on implementing Space Vector Pulse Width Modulation (SVPWM) in Simulink.
In recent releases, specifically MATLAB/Simulink 2025b, the blocks “SVPWM Generator (2-level)” and “SVPWM Generator (3-level)”, which were previously intended for this purpose, are no longer available. According to the documentation on your website, these blocks are expected to be removed.
I would appreciate it if you could advise on recommended alternatives or replacement solutions for implementing SVPWM in Simulink under the current software version. Any guidance toward supported blocks, example models, or best-practice approaches would be very helpful.
Thank you for your time and support.
Sincerely,
Sergi ZapaterDear MathWorks Team,
I am writing to seek guidance on implementing Space Vector Pulse Width Modulation (SVPWM) in Simulink.
In recent releases, specifically MATLAB/Simulink 2025b, the blocks “SVPWM Generator (2-level)” and “SVPWM Generator (3-level)”, which were previously intended for this purpose, are no longer available. According to the documentation on your website, these blocks are expected to be removed.
I would appreciate it if you could advise on recommended alternatives or replacement solutions for implementing SVPWM in Simulink under the current software version. Any guidance toward supported blocks, example models, or best-practice approaches would be very helpful.
Thank you for your time and support.
Sincerely,
Sergi Zapater Dear MathWorks Team,
I am writing to seek guidance on implementing Space Vector Pulse Width Modulation (SVPWM) in Simulink.
In recent releases, specifically MATLAB/Simulink 2025b, the blocks “SVPWM Generator (2-level)” and “SVPWM Generator (3-level)”, which were previously intended for this purpose, are no longer available. According to the documentation on your website, these blocks are expected to be removed.
I would appreciate it if you could advise on recommended alternatives or replacement solutions for implementing SVPWM in Simulink under the current software version. Any guidance toward supported blocks, example models, or best-practice approaches would be very helpful.
Thank you for your time and support.
Sincerely,
Sergi Zapater svpwm, svm, space vector modulation, simulink MATLAB Answers — New Questions
How to view private properties of a class in the debugger?
I author a handful of Digital Signal Processing algorithms in System objects (they are very handy indeed). Recently after upgrading to R2025b from R2024a I’ve hit an annoying snag. Most of the state, etc. of a system object will be in private properties. In prior versions, I could set a breakpoint in the stepImpl for instance and if I clicked on "obj" (the standard internal name for my object handle inside methods), I could see in the variable editor the value of all the properties, not just the externally visible ones. Then, I could step through the algorithm and make sure everything was computing correctly. Now there’s no handy way to do this? I tried the class browser but that doesn’t readily show the values of the current instance of the class. Why was this critical feature broken?I author a handful of Digital Signal Processing algorithms in System objects (they are very handy indeed). Recently after upgrading to R2025b from R2024a I’ve hit an annoying snag. Most of the state, etc. of a system object will be in private properties. In prior versions, I could set a breakpoint in the stepImpl for instance and if I clicked on "obj" (the standard internal name for my object handle inside methods), I could see in the variable editor the value of all the properties, not just the externally visible ones. Then, I could step through the algorithm and make sure everything was computing correctly. Now there’s no handy way to do this? I tried the class browser but that doesn’t readily show the values of the current instance of the class. Why was this critical feature broken? I author a handful of Digital Signal Processing algorithms in System objects (they are very handy indeed). Recently after upgrading to R2025b from R2024a I’ve hit an annoying snag. Most of the state, etc. of a system object will be in private properties. In prior versions, I could set a breakpoint in the stepImpl for instance and if I clicked on "obj" (the standard internal name for my object handle inside methods), I could see in the variable editor the value of all the properties, not just the externally visible ones. Then, I could step through the algorithm and make sure everything was computing correctly. Now there’s no handy way to do this? I tried the class browser but that doesn’t readily show the values of the current instance of the class. Why was this critical feature broken? debug, system object MATLAB Answers — New Questions









