94,703 questions
1
vote
0
answers
72
views
How to change window title of the base workspace of MATLAB Desktop GUI of R2025a onwards on Windows
How do you change window title of the base workspace of MATLAB desktop GUI for R2025a onwards on Windows 10?
Prior to R2025a, mlservices gives an API:
desktop = com.mathworks.mlservices....
-1
votes
0
answers
29
views
Empty excel of mean values of gray matter volumes in cat12 [closed]
I have some catROI files in 'labe' folder after MRI preprocessing using CAT12. These .xml files contain mean values of gray matter, white matter and CSF of different brain regions in different ...
1
vote
0
answers
66
views
Error in converting symbolic value to numerical value with subs()
I have a problem in MATLAB.
I want to calculate the nonlinear system of equation using Newton Method. This nonlinear system of equation is taken from finite difference method. The system is Ay=F(y) ...
0
votes
0
answers
53
views
Applying a gain to a bus while preserving the signal name assignments
I have a bus if signals in MATLAB Simulink and I want to apply a gain to modify the signal values but preserve the naming elements of the bus, but when I apply a gain to the bus the output is just a ...
2
votes
2
answers
130
views
How to check whether a name is a locally accessible function?
How to check whether a name is a locally accessible function and only locally accessible?
For example, with
function out = top_level_function(name)
% ???
function helper2
end
end
function ...
2
votes
1
answer
151
views
How to filter and sum elements of a matrix in MATLAB based on multiple conditions without a loop?
I have the following numeric matrix in MATLAB:
A = [3 2 7; 9 1 4; 5 6 8];
I want to sum all elements that are greater than 5 and are also even.
I need to do this without using a loop, and store the ...
1
vote
1
answer
109
views
Python read matlab .mat file containing table
I'm trying to read a matlab .mat file (v7.3) from python. The thing is one of the field in the .mat object is a table (7x6) with named columns, and every time I read the object I only get a 1x6 array ...
0
votes
0
answers
35
views
dSpace MicroLabBox Tx serial communications is writing transmissions straight to the receive buffer
I am using the dSpace MicroLabBox and am running their Real-Time Interface (RTI1202) on MATLAB 2024b. I am currently attempting to control a motor through RS485. I have the connection working and the ...
0
votes
1
answer
22
views
Simulink 3DOF block not accounting for gravity?
im very new to Simulink and wanted to experiment with the 3DOF (Body Axels) block in Simulink. However my height is just constantly increasing even with no force applied. (I tried applying thrust for ...
3
votes
1
answer
94
views
An issue with `parfor` in MATLAB R2023a--R2025a
Consider two MATLAB m files named profile.m and try_parfor.m as follows.
% profile.m
function profile()
olddir = pwd();
cd(tempdir);
fprintf('\nCurrent directory: %s\n', pwd());
func ...
0
votes
0
answers
41
views
How to command live script to scroll to the bottom left corner of an output matrix
To show the bottom left of the matrix, I am manually scrolling down to the bottom of the matrix. I seek a command that will scroll down to the bottom left of the matrix. I do not want to crop the ...
0
votes
0
answers
62
views
Weird Results in Robot Pathfinding Algorithm Testing Using MATLAB
Recently, I developed a MATLAB-based simulation to evaluate my robot pathfinding algorithm. The robots operate on a network of unidirectional tracks, where each robot computes a single path from its ...
0
votes
1
answer
75
views
MatLab 2025a Error switching the .NET Framework Error using dotnetenv
The framework is already loaded immediately after restarting Matlab 2025a.
Error using dotnetenv
.NET is loaded. To change the environment, restart MATLAB then call dotnetenv.
Test code directly ...
1
vote
0
answers
17
views
Simulink inverse kinematics block goes unstable when RPY is time-varying (homogeneous transformation matrix)
I'm trying to use the MATLAB robotics toolbox, specifically with the inverse kinematics block. I started only giving the block the translation coordinates, and a weight vector of [0 0 0 1 1 1], which ...
4
votes
1
answer
56
views
How to find an sgtitle in a figure with a tiledlayout?
I have a figure with a tiledlayout. If I create an sgtitle I am unable to find that same sgtitle within the fh.Children structure. If I do not create a tiledlayout, then the sgtitle shows up in the ...