Answered
How can I prevent scientific notation on my axes in MATLAB R2015a and earlier releases?
If you are using MATLAB R2015b or a later release, please refer to the following MATLAB Answers post:  https://www.mathworks.com...

2 years ago | 0

| accepted

Answered
How to append a row to an excel file?
This functionality is supported in MATLAB R2020a or later versions using the name-value pair ('WriteMode', 'Append'). To access ...

2 years ago | 0

| accepted

Answered
How to speed up evaluation of symbolic expression to numerical values for large number of evaluations?
The symbolic expression can be converted to a function handle or file using the "matlabFunction" function. The function handle g...

2 years ago | 9

| accepted

Answered
How can I speed up my MATLAB startup time?
Please see the steps below to improve your startup time: 1. As a diagnostic tool, you can use the "timing" run-time option to g...

2 years ago | 2

| accepted

Answered
Simulink Test Manager throwing "block_diagram does not have a parameter named 'EnableUserReplacementTypes'" error
In this case, the error is resulting from a difference in the TLC file used to generate code for SIL testing. Some of the models...

2 years ago | 0

| accepted

Answered
Can I interact with a Speedgoat real-time simulation from Python?
The MATLAB Engine API provides a package for Python to call MATLAB as a computational engine. An overview of this feature can be...

2 years ago | 1

| accepted

Answered
Renaming files using MATLAB
From MATLAB, you can use the "movefile" function to rename files on your machine. To access the specific documentation for this ...

2 years ago | 2

| accepted

Answered
Why are there functions in my generated main function other than "step", "init", and "terminate" when I have my atomic subsystems set to "inline"?
If you have atomic subsystems that contain other atomic subsystems with function packaging set to "auto", or "nonreusable" this ...

2 years ago | 0

| accepted

Answered
Can I convert CRS and CSC sparse matrices to MATLAB sparse matrices?
Unfortunately at this time, the only way to create MATLAB sparse matrices is with 1-indexed, [row, column, vector] triplets, whi...

2 years ago | 0

| accepted

Answered
How can I make the cells in a UITable editable in an App Designer app?
The property that allows the UITable to be edited by the user of the App is "ColumnEditable". See the attached screenshot below...

2 years ago | 1

| accepted

Answered
How do I convert a Python dictionary to a MATLAB type?
While MATLAB structs have strict naming conventions for their data, there are other MATLAB data types which a dictionary can be ...

2 years ago | 3

| accepted

Answered
How to make a good tracking scenario where targets and tracks/detentions are close enough?
To explore the 'Tracking Using Distributed Synchronous Passive Sensors' example in our documentation, execute the following comm...

2 years ago | 0

| accepted

Answered
How Can I Generate a 32-bit DLL from a Simulink Model on 64-bit MATLAB?
The best way to set this up is by registering a custom toolchain for your build process. A toolchain is simply a collection of t...

2 years ago | 0

| accepted

Answered
Why do I encounter SSL certificate verification failed (result: 5) error for HTTP request?
This issue was caused by expired certification as the error message suggests. It has been addressed in MATLAB R2021a and later r...

2 years ago | 1

| accepted

Answered
How can I overlay vector and raster data on “geoaxes” in the MATLAB R2020b ?
MATLAB offers “geoplot” and “geoscatter” commands for plotting lines and points on “geoaxes” with a set of coordinates (vector d...

2 years ago | 0

| accepted

Answered
Why doesn't polyspace-configure recognize the compiler in my custom configuration?
This issue may have several different causes. As described in the error message, first ensure that there is no compiler cache in...

2 years ago | 0

| accepted

Answered
Why do the Live Editor, Command Window, and Simulink get slow after several runs of a Live Script?
This issue is likely due to MATLAB not having sufficient memory available to perform the calculations repeatedly. You can increa...

2 years ago | 0

| accepted

Answered
How do I generate a self-signed certificate for testing HTTPS functionality in MATLAB Web App Server?
To generate a self-signed certificate for testing HTTPS functionality in MATLAB Web App Server: 1. Open a terminal on a Linux ma...

2 years ago | 1

| accepted

Answered
How do I apply a sample time to an array of values that represent data points at different times?
This is achievable in MATLAB with some commands to clean up our data first and then create a Timeseries Object. Assuming you hav...

2 years ago | 0

| accepted

Answered
How to setup terminal for debugging MATLAB scripts while editing in vim
MATLAB can be launched for use on the command line by passing it the command line flag '-nodesktop'. Commands can then be entere...

2 years ago | 1

| accepted

Answered
How do I resolve "AWT-EventQueue-0" exception errors when trying to open multiple instances of MATLAB?
To resolve this, check the thread limit using the command 'ulimit -a' at the Linux command line. This command will report variou...

2 years ago | 0

| accepted

Answered
How to find and replace all broken library links if I renamed my library?
Option 1: Use Forwarding Tables Using Forwarding Tables would be the easiest way to implement this. For more information, please...

2 years ago | 0

| accepted

Answered
How do I move the colorbar outside of an image and still maintain a fixed height?
The issue is that once the "Position" property of the colorbar is manually set, the axes start to ignore the colorbar and will n...

2 years ago | 0

| accepted

Answered
How do I create a lookup-table for values interpolated from existing data?
MATLAB has a built-in function called "interp1" for interpolating data which can be used in this workflow. Refer to the example ...

2 years ago | 0

| accepted

Answered
Is there a way to make button "uicontrol" with rounded corners in MATLAB R2019b?
For the "pushbutton" style option of "uicontrol" or other "uicontrol" styles, there is no option to have rounded corners as of M...

2 years ago | 0

| accepted

Answered
How to connect with QGroundControl via Telemetry Radios in PX4 support package?
First, separately from the PX4 Support Package, you have to ensure that the Telemetry radios are properly set up. Below are some...

2 years ago | 0

| accepted

Answered
Can I solve Mixed-Integer Quadratic Programming (MIQP) problems in MATLAB using built-in functions? 
The following two functions help solve MIQP problems in MATLAB: 1. The "ga" function: Please run the following command in the c...

2 years ago | 0

| accepted

Answered
How do I define colors for individual bars on my bar graph according to their values in MATLAB?
This issue has been resolved in MATLAB R2017b with the addition of a property "CData" to the "bar" function. To find out more ab...

2 years ago | 7

| accepted

Answered
Tune PID controller for a nonlinear system in MATLAB.
Most of the tools that MATLAB has available for PID controller tuning are designed for linear systems. Nonlinear systems are ext...

2 years ago | 0

| accepted

Answered
Can I use "trainNetwork" to train deep neural networks with non-image or non-sequence data for regression/classification?
It is possible to use "trainNetwork" to train deep neural networks for regression/classification using non-image or non-sequence...

2 years ago | 4

| accepted

Load more