Answered
Error in MATLAB R2021a: Example Not Found in Specified Path
Hey @syed khaleduzzaman, The command you are using is for MATLAB R2023b and later versions. You can use the following command ...

4 months ago | 0

Answered
Looking to License two separate Programs PolySpace on one port and Matlab on a separate one.
Hey @Tyler It seems like you want to combine both the MATLAB and POLYSPACE licenses into one license file while using different...

4 months ago | 0

Answered
What is the difference between the ways of Predict and PredictAndUpdateState to update the network?
Hey @Jinjian, I have answered your question about the difference between 'predict' and 'predictAndUpdateState' here: https://...

4 months ago | 0

Answered
The dofference of predict() and PredictAndUpdateState()
Hey @Jinjian, The "predict" function in MATLAB predicts the responses of a linear regression model. For example, in this case: ...

4 months ago | 0

Answered
PI BLOCK IN SIMULINK
Hi @Uzair Akhtar, If you look at “PI controller” block’s dialog box, you can see that compensator formula is: Given the val...

4 months ago | 0

Answered
Matlab extremely slow to start up due to error mwdocsearch.exe
Hey @Matthew, It seems that MATLAB is simply trying to start an executable during initialization. One possible reason could be ...

4 months ago | 0

Answered
Installer stops on a blank pop-up screen. re-run in parallel thread will get to installation but immediately fails
Hey @Matthew, This error may arise if you are attempting to install from installation files located on a shared or network driv...

5 months ago | 0

Answered
Is there an "inverse" of decsg?
Hey @Tyler Fara, It appears that there isn't an inverse for the 'decsg' function in MATLAB. This is because the 'decsg' functio...

5 months ago | 0

| accepted

Answered
R2018b does not complete initialisation
Hey @Ann Gray, There is a generic article for such situations that you can refer to: https://www.mathworks.com/matlabcentral/a...

5 months ago | 0

Answered
How to deal with corrupted matlabprefs?
Hey @Lucas Barbedo The following MATLAB Answer might help: https://www.mathworks.com/matlabcentral/answers/859375

5 months ago | 0

Answered
Find strings within other strings then pull data from that point
Hey @A-Rod, To extract 6 digits following a specific pattern in your text file, you can utilize MATLAB's string manupilation fu...

5 months ago | 0

Answered
Stateflow Onramp not launching on Simulink Desktop.
Hey @Khairudin Selamat, If you do not have a license for Simulink, you can only go through Simscape Onramp online. You can ref...

5 months ago | 0

Answered
error about MATLAB Runtime 7.5 download
Hey @윤지 노, This seems to be a problem with Windows rather than with MATLAB. I encountered the similar issue and found a soluti...

5 months ago | 0

Answered
MATLAB parallel computing beyond 8 cores causing OS to crash
Hey @Cyrus Abdollahi, You can try disabling Just-In-Time (JIT) compilation in the Java startup options. To do this, create a "j...

5 months ago | 0

Answered
R2023a for MacBook m1 sonoma 14.5 is crash
Hey @zhuyu, I found something similar that might answer your query: https://in.mathworks.com/matlabcentral/answers/2027964

5 months ago | 0

| accepted

Answered
simulink library does not show installed tool boxes
Hey @zuyuan, Maybe your MATLAB install's path or toolbox cache got corrupted. You try running the following commands in MATLAB ...

5 months ago | 1

| accepted

Answered
How can I find the coefficients of the 2D interpolated function?
Hey @Sajani Perera, To find the coefficients of the 2-D interpolated function, we can use polynomial fitting on the interpolate...

5 months ago | 1

| accepted

Answered
How to save a variable from workspace into a .mat file, but the variable obtains value from a for loop?
Hey @Iro Liontou, To ensure that the variable "x" is saved to a MAT file even if the iteration is stopped early, you can use a ...

5 months ago | 0

Answered
MATLAB and Simulink crash on Ubuntu 22.04.2
Hi @Rezim, The follwing MATLAB Answer might be of help: https://www.mathworks.com/matlabcentral/answers/2122846

5 months ago | 0

| accepted

Answered
Best practice: CWT image generating for Deep Learning images
Hey, From what I can gather, you want to remove all the extra elements such as borders, axes, etc., and only save the image obt...

5 months ago | 0

Answered
error in setting up android device
Hey @vishwajeet Based on the error message, the issue is with unzipping a Gradle distribution file. The Gradle file is required...

5 months ago | 0

Answered
Error Using Rainflow fonction
Hey @JoeTeg The "rainflow" function is typically used for fatigue analysis and expects a time history of stress or strain as in...

5 months ago | 0

Answered
how to return the value to workspace after user select item in pop-up menu
Hey @wenchao zhang, You can use the assignin function in MATLAB to save the selected value to the workspace. Here's how you c...

7 months ago | 0

| accepted

Answered
Why Does numel() Accept More than One Argument?
Hey @Paul, When the numel function in MATLAB is called with more than one input argument, it returns the product of number of e...

7 months ago | 0

| accepted

Answered
Plotting of a rolling ball
Hi @Cem Eren Aslan, You can use the plot function in MATLAB for simple visualization of the given 2D trajectory. You can refer...

7 months ago | 0

Answered
error of compilation with mex (environement wsl -> ubuntu -> matlab 2024)
Hey @Remi Choquet, The following MATLAB Answer might be of help: https://www.mathworks.com/matlabcentral/answers/78436

7 months ago | 0

Answered
Generate all the prime numbers that are less than or equal to 100 using loop
Hey @Koushika, The following MATLAB answer might help: https://www.mathworks.com/matlabcentral/answers/628618

7 months ago | 1

Answered
Simulink tools are not shown at the top of the window
Hi Daniel, I have tried this in the latest release of MATLAB (R2024a), and this issue doesn't seem to be present there. You mi...

7 months ago | 0

Answered
Unable to load a .stl into file solid (MATLAB R2021a)
Hey @Theodore Bien, Seems like you are unable to unlock the "sm_lib" library. You can use the following command to do so: se...

8 months ago | 0

Answered
peltier cooler model element
Hey @Adam, The Heat Flow block is not an in-build library block in Simulink; hence you are unable to find it. Furthermore, t...

8 months ago | 0

Load more