Answered
Best practices for MATLAB code
There is no equivalent to the C preprocessor in MATLAB. The C pre-processor can do some ugly things, such as #ifdef __CPLUS ...

1 month ago | 0

Answered
when i install the matlab then i chnage the lisence name shann into shanni kumar and when i compeletd the installtion process the matlab show me the line licence not match
The name used for license purposes needs to be your windows username. Your windows username probably does not have a space in it...

1 month ago | 0

Answered
How to add one extra seat for a different computer on an existing license?
You would need to purchase a second Home license. Potentially, the second Home license would be listed under the same "master ...

2 months ago | 0

Answered
Home License in 2026
There is no longer any option to purchase a Perpetual Home license or a Perpetual Student license. The new annual price for Hom...

2 months ago | 1

Answered
Generating .NET Code for usage without Matlab Runtime
Sorry, there is no way to generate C# code at present. I have no information as to whether Mathworks is working on a C# code ge...

2 months ago | 0

Answered
Looking for addon name
That is likely https://github.com/isablanca/Power-System-Analysis-Toolbox/

2 months ago | 0

| accepted

Answered
2 area bus system
Possibly https://github.com/Realife-Brahmin/PowerSystems-Analysis-Stability-WSU which includes ieee11: Kundur's 2 Area 11 bus s...

2 months ago | 0

| accepted

Answered
unrecognized date format from "dir" command for french users with july month
Instead of using the date field returned by dir(), you can use the datenum field Target = '/'; datetime([dir(Target).datenum],...

2 months ago | 0

Answered
how to convert table to matrix?
table2array() . Or, if the table is all numeric, you can give the table name and then {:, :} such as mytable{:,:}

2 months ago | 19

| accepted

Answered
Undefined function 'imhistc' for input arguments of type 'uint8'.
imhistc is a mex file that is installed as part of the Image Processing Toolbox. If it is not found, first experiment with re...

2 months ago | 0

| accepted

Answered
Why is Jaaba stuck open on MATLAB online?
Follow the instructions at https://www.mathworks.com/matlabcentral/answers/520496-matlab-online-stuck-at-loading-screen#answer_4...

2 months ago | 0

| accepted

Answered
Even though I followed Matlab instruction, I cannot update it.
R2026a Pre-release licenses expire within a small number of days, because the actual R2026a release is due to be launched within...

2 months ago | 0

Answered
Please i need to make the color of the run code figure similar as the color of the attached figure.
There are a couple of possible ways to make the color of the figure the same as what you attached: you can draw some extra obje...

2 months ago | 0

Answered
How to download Matlab 2020b, I cannot find it on dowloads.
If all you can see at https://www.mathworks.com/downloads/ is the very latest version of MATLAB, then that typically indicates t...

2 months ago | 0

Answered
Absolute Encoders / BISS C
https://www.mathworks.com/help/ti-c2000/ug/biss-example.html

2 months ago | 0

Answered
How do I perform Image segmentation in an RGB image using pattern?
You are pretty much doomed to failure if you want to segment the horseshoe pattern from the rest of the image. The rest of the i...

2 months ago | 0

Answered
How to fix “Are you up to date on software maintenance?”
It is currently after February 28, 2026, so your Software Maintenace Service has expired. The add-on explorer can only be used i...

2 months ago | 0

| accepted

Answered
how to add noise with vairience 0.002 in the code with mean 0
Normally variance statements about noise signals are statistical: normally you would generate a signal that has a particular sta...

2 months ago | 0

| accepted

Answered
Which Simulink SPI block supports Teensy 4.0? My library only shows C2000 and STM32 options, but Teensy 4.0 uses an NXP i.MX RT1062.
https://www.mathworks.com/help/simulink/supportpkg/arduino_ref/spiwriteread.html The Arduino support package currently supports...

2 months ago | 1

Answered
Support Teensy Hardware?!
Teensy 4.0 and 4.1 are currently supported through the Arduino support package

2 months ago | 0

Answered
Mistake in documentation for regexp?
The description is wrong; the pattern used is looking for substrings, not "words". str = 'bat cat can car coat court CUT ct CAT...

2 months ago | 0

Answered
How to read in m-files into a Matlab-generated-Exe
You will not be able to use a compiled executable to execute arbitrary .m files: compiled executables are specifically designed ...

2 months ago | 0

Answered
Symbolic matlabFunction() generates a non-working function for my problem
syms t real l = [0;0;t] syms x y z real r = [x;y;z]; sep = r-l dl = diff(l,t) integrand = simplify(cross(dl,sep)./norm(sep...

2 months ago | 0

| accepted

Answered
How do I view online help page for an older version of matlab?
You can go back 5 years by visiting https://www.mathworks.com/help/doc-archives.html So, at present R2021b help is still avail...

2 months ago | 0

| accepted

Answered
Create a Cartesian product with user-specified constraints
M = [1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4] Split = nu...

3 months ago | 0

| accepted

Answered
+, plus Type Conversion Behavior, Matlab Copilot Mismatch
The copilot descriptive text says specifically that the result of a+b will be integer. But then the comment says that it will be...

3 months ago | 0

Answered
R2025b Update 4 does not support element-wise division (./) for tf objects?
The same is true at least as far back as R2018a. I don't think the ./ operator has ever been defined for tf

3 months ago | 1

| accepted

Answered
searchin for an M file in all folders of my PC.
You could consider using command line tools [status, result] = system('dir /s *FILENAMEGOESHERE*');

3 months ago | 1

Answered
Looking for a Videosequence
Available video sequences include at least the following (possibly more, depending on platform) MLR = matlabroot(); cmd = spri...

3 months ago | 0

Answered
I know rsum takes the middle riemann sum is there a way to find the left and right riemann sums both of which have a specified number of subintervals.
x_to_probe = linspace(a, b, n+1); function_at_left = f(x_to_probe(1:end-1)); function_at_right = f(x_to_probe(2:end));

3 months ago | 2

Load more