Question


How can I stop execution of a MATLAB script that is currently running?
I have a GUI which has multiple algorithms, execution time may very long some of them, so user may want to stop and change the v...

14 days ago | 1 answer | 0

1

answer

Answered
How can I put multiple figures on the same line in MATLAB Report Generator 5.3 (R2017b)?
An inline figure snapshot component is not directly available in MATLAB Report Generator 5.3 (R2017b). You can use an invisible...

14 days ago | 0

| accepted

Answered
Are there any built-in functions in MATLAB to read and write MPEG files?
There are functions that have been introduced in MATLAB 7.5 (R2007b) such as MMREADER that can read MPEG files. To learn more ab...

14 days ago | 0

| accepted

Answered
Can I export very large MDLATX Files from Test Manager in Simulink?
The ability to export very large MDLATX files is not currently available in Simulink. I would propose the following options to w...

14 days ago | 0

| accepted

Answered
Can I change the "heat transfer coefficient" and the "Fouling factor" of the "Condenser Evaporator (2P-MA)" during the simulation?
The heat transfer coefficient model varies in the time since it is dependent on the "a", "b", and "c" coefficients of the Colbur...

14 days ago | 0

| accepted

Answered
Can I use a timetable object in the workspace as a bus inport/input in Simulink?
As of MATLAB R2020b, a timetable cannot be directly mapped to an inport bus, even though the structure of both may seem similar....

14 days ago | 0

| accepted

Answered
Can I split an inter-runnable variable (IRV) to an Output Port, so that it can be used by another software component (SWC)?
Simulink will generate C code and ARXML files correctly for this use case. The C code contains a call to copy the data to both ...

14 days ago | 0

| accepted

Question


Can I split an inter-runnable variable (IRV) to an Output Port, so that it can be used by another software component (SWC)?
In my design, there is a signal that transfers data between runnables (inter-runnable variable, IRV).  So it should be spec...

14 days ago | 1 answer | 0

1

answer

Answered
Can I specify the numeric precision for each column when exporting the table data using writetable?
There is no ability to specify the numeric precision for writetable. "writetable" outputs numeric variables using long g format....

14 days ago | 0

| accepted

Question


Can I specify the numeric precision for each column when exporting the table data using writetable?
I would like to specify the numeric precision for each column when exporting the table data using writetable function. For examp...

14 days ago | 1 answer | 0

1

answer

Answered
What is the way to recover the error while trying to open Hardware Mapping UI?
To recover from this issue, reset the hardware board selection in the model’s configuration settings: 1. In the Configset, set t...

14 days ago | 0

| accepted

Answered
Why can't I open a parpool('Processes') of over 64 workers on my high core Windows machine?
In order to use more than 64 workers on Windows, the number of workers in the local or 'Processes' cluster profile needs to be m...

14 days ago | 0

| accepted

Answered
How can I add a signal to multiple scenarios in the Signal Editor at once?
There is currently no way to automatically add a signal to several scenarios at once. As a workaround to quickly add the same si...

14 days ago | 0

| accepted

Answered
Is polymorphism supported by MATLAB Coder?
This is expected behavior, as MATLAB Coder does not currently support polymorphism. To work around the behavior, perform the fol...

14 days ago | 0

| accepted

Question


Is polymorphism supported by MATLAB Coder?
I am trying to generate code using MATLAB coder from source code that utilizes polymorphism. I have created an example in both M...

14 days ago | 1 answer | 0

1

answer

Answered
Why do I receive "Failed to download the third-party software" when trying to install the Data Acquisition Toolbox Support Package for Measurement Computing Hardware?
This is a known bug that occurs when trying to install this support package in the following versions: R2020b - R2023b.  Pl...

14 days ago | 0

| accepted

Question


Why do I receive "Failed to download the third-party software" when trying to install the Data Acquisition Toolbox Support Package for Measurement Computing Hardware?
Why do I receive "Failed to download the third-party software" when trying to install the Data Acquisition Toolbox Support Packa...

14 days ago | 1 answer | 0

1

answer

Answered
Why does the "goertzel" function not accept arguments in [N, N + 1) as the FFT index for signal inputs of length N in MATLAB R2024a and earlier?
In MATLAB R2024a and earlier, the "goertzel" function only accepts arguments for the FFT index number over the interval [1,N] fo...

14 days ago | 0

| accepted

Answered
Why do I get the error "Unrecognized function or variable"?
MATLAB does not recognize the specified string as the name of a function on the MATLAB path or as a variable. The above error me...

14 days ago | 16

| accepted

Answered
How to move the Variables Editor panel in MATLAB R2025a?
To achieve that, right-click on the Variables Editor, then click on Move Variables > Right, as demonstrated below: The fina...

14 days ago | 0

| accepted

Answered
Why am I unable to simulate or save my model when I insert a custom library block with broken library links in Simscape?
The problem is in the way the library was created. The custom components written using the Simscape language have been originall...

14 days ago | 0

| accepted

Answered
Why does the "Microsoft Excel" background process not terminate when using "Columns.Item(col).AutoFit()" feature with actxserver?
This is a confirmed issue with the "Columns.Item.AutoFit()" feature of "actxserver" in MATLAB R2024a, R2024b, and R2025a. The de...

14 days ago | 0

| accepted

Answered
Why do I encounter a "Firmware Build Failed" Error when building PX4 Firmware with UAV Toolbox in MATLAB R2025b?
If you encounter a “Build Firmware Failed” error when building PX4 firmware in MATLAB, please follow the steps below:Update the ...

14 days ago | 0

| accepted

Question


Why do I encounter a "Firmware Build Failed" Error when building PX4 Firmware with UAV Toolbox in MATLAB R2025b?
I'm following the "Getting Started with uORB Blocks for PX4 Autopilots Support Package" example in MATLAB R2025b using a PX4 Pix...

14 days ago | 1 answer | 0

1

answer

Answered
Why is LaTeX font different for MATLAB R2025a figures?
The font used within MATLAB for LaTeX has changed as of MATLAB R2025a. To create plots that use the Computer Modern font in MATL...

14 days ago | 0

| accepted

Question


Why is LaTeX font different for MATLAB R2025a figures?
The graphic below compares two figures generated in different versions of MATLAB (R2024b using the Computer Modern font on the l...

14 days ago | 1 answer | 0

1

answer

Answered
Why can't 'Tank (G-TL)' block's liquid level reach inlet height without erroring in R2022a?
A potential workaround would be to use a 'Tank (TL)' and 'Partially Filled Pipe (TL)' instead of 'Tank (G-TL)'.  There is a...

14 days ago | 0

| accepted

Answered
Why is the definition of Weibull PDF not consistent across different MATLAB online documentation web pages?
The equations of the Weibull distribution function in two different MATLAB documentation pages are as follows: 1) The expression...

14 days ago | 0

| accepted

Answered
How can I prevent variant‑disabled ports from appearing as "UNUSED_PARAMETER" arguments in generated code when using an explicit Step function prototype configuration?
This behavior occurs because the function interface has been explicitly defined in the Code Generation interface. When the optio...

14 days ago | 0

| accepted

Answered
How do I extract data from MATLAB figures?
This example shows how to extract data from a MATLAB figure. If the figure is stored in a file, such as 'example.fig', then open...

14 days ago | 51

| accepted

Load more