Answered
parfor loop error with plotting on an image
The code you are attempting to run in parallel makes some reference to the app object or some substructure of the app object. I...

1 month ago | 0

| accepted

Answered
How to add units when displaying a matrix using the disp command
k = 13; disp(['Number of neutral strand = ' num2str(k)]) Rb = 1.269/2/12; % ft disp(['Radius of the circle passing through th...

1 month ago | 0

| accepted

Answered
how to place an image under my line plot in same figure - both same size?
Start by using image() or imshow() with the XData and YData options to draw the image in an axes. Those options allow you to set...

1 month ago | 0

Answered
external (! echo $PATH) in Matlab for MacOSX
It is completely normal that the PATH when starting from icon is different than the PATH when started from terminal window. Whe...

1 month ago | 0

Answered
Using for loop with if condition
MaxFloors = 14; MaxRooms = 20; BuildingData = zeros(MaxFloors, MaxRooms); FloorRoomData = [1 1; 4 15]; for Row = 1 : h...

1 month ago | 0

| accepted

Answered
addRule throws "Do not use a rule keyword as a variable name."
Rewriting the rules as words works. % Create a Fuzzy Inference System (FIS) with the name "IFR" fis = mamfis('Name', 'IFR'); ...

1 month ago | 0

| accepted

Answered
What qualifies as research to have to get the commercial license?
The Home license can be used for entirely personal work -- work you are not being paid for (at all), work that is not being done...

1 month ago | 0

Answered
Question about repeatability in parfor-loop
Inside the parfor, by default each worker only gets a single core, so the \ operation is calculated using a single core. Inside...

1 month ago | 0

| accepted

Answered
Unable to resolve the name 'dsp.private.designWindow'.
There does not appear to be any auditorySpectrogram function in MATLAB itself. There is an auditory spectrogram Simulink block, ...

1 month ago | 0

| accepted

Answered
In MATLAB, why is a variable that already exists in the workspace not recognized within a function, even when the function is located in the same directory?
That is just how functions work. Each function has its own "workspace" of variables. Inside a function, the only accessible var...

1 month ago | 3

| accepted

Answered
Collecting terms in a big equation
syms C D ki_i kp_i L phi_v R r_L v_i w_v kp_v_out_c = ((w_v^4*(C*D^4*L*R^3*kp_i - 4*C*D^3*L*R^3*kp_i - C*ki_i*D^2*L^2*R^2 ... ...

2 months ago | 1

Answered
About MATLAB and Simulink Home Suite
Effective January 1, 2026 (so, just a few days ago), MATLAB and Simulink Home Suite is effectively a subscription service. Purch...

2 months ago | 0

| accepted

Answered
How to send 4 bit data from NI8452?
https://www.mathworks.com/matlabcentral/answers/346770-data-truncation-to-4-word-lengths-when-using-the-spi-transmit-block-in-th...

2 months ago | 0

Answered
how can i obtain the following DLL
You can get MCR 9.4 (R2023a) from https://www.mathworks.com/products/compiler/matlab-runtime.html

2 months ago | 0

Answered
Error in converting 2D Kalman filter to 3D.
Your demux block is configured to split into "2" pieces. It splits the 3 inputs unevenly into 2 and 1, but complains about it. ...

2 months ago | 1

| accepted

Discussion


change in home and student licenses
https://www.mathworks.com/matlabcentral/answers/2182045-why-can-t-i-renew-or-purchase-add-ons-for-m… "As of January 1, 2026, P...

2 months ago | 0

Answered
I'm using a 2020 Mac Mini. Will R2017a run on this computer if I upgrade to MacOS Tahoe?
On Tahoe on MacOS Intel R2015aSP1 quits "unexpectedly" R2015b to R2017b silently fail to start. If started directly from bin/m...

2 months ago | 0

Answered
How to check that a matlab.ui.Figure handle is deleted?
There is more than one way fwaitbar = waitbar(0,'Running simulation of'); isvalid(fwaitbar) isgraphics(fwaitbar) close(f...

2 months ago | 1

| accepted

Answered
Is the Order of Function Evaluation Guaranteed when Function Outputs are Concatenated into an an Array?
The order is guaranteed to be "as-if" it were left to right, It appears that values are stored temporarily for processing acco...

2 months ago | 1

| accepted

Answered
geoscatter unable to interpreting table values
The original csv file has values like 7235.3 for Long and 3701.3 for Lat. Those values are well outside the expected range. You...

2 months ago | 0

| accepted

Answered
[Matlab Parallel Server] what happens if we assign more than 1 core to a worker, say 5 cores to a single worker, is that a possibility?
I do not know if it affects licensing, but assigning more than one core to a worker is certainly possible. More cores per worke...

2 months ago | 0

| accepted

Answered
I have a home license for Matlab. How do I access the Self-Paced Online Courses?
The online courses are divided into two kinds. The "Onramp" courses are free. The "Learning path" courses require a subscripti...

2 months ago | 0

Answered
HOW TO FIND THE MODULUS OF THE COMPLEX SERIES
Although modulus_complex is a function, modulus_exact is not a function, so modulus_exact(x(row),t(col)) is attempting to index ...

2 months ago | 0

Answered
arduino BLE send/receive simulink problem
BLE sense rev2 is not supported by the Simulink Support Package for Arduino Look at the list of supported hardware, https://www...

2 months ago | 0

Answered
Wavemenu is not working in 2025 version?
wavemenu was already marked for removal in R2018a. Eventually it was removed, replaced by direct calls to waveletAnalyzer In tu...

2 months ago | 0

| accepted

Answered
Questions regarding licensing for commercial use of standalone applications
1) Yes, the validty of the license depends on the ownership at the moment of compilation. However, it is against the license te...

2 months ago | 0

| accepted

Answered
How to read Audio File into Vector?
An audio file would not be read into a vector in the case where the audio file had multiple channels. %approach #1 [y, Fs] = a...

2 months ago | 0

Answered
w.txt in machine learning
w.txt is attached to https://www.mathworks.com/matlabcentral/answers/329780-in-matalb-r2008-this-error-apperas-error-using-feval...

2 months ago | 0

Answered
Construct voronoi diagram on a point cloud
Use something like pca() to determine the major axes for the data. Rotate the data so that the major axes becomes the xy plane. ...

2 months ago | 0

| accepted

Answered
Cassie Meyer Arc model Simulation with asymmetrical current waveform
One possible approach would be to take a clock and put it through a mod() block, and put the result of that into a 1D lookup blo...

2 months ago | 0

Load more