Answered
Run a makefile created by simulink
Hi Hoang, I faced a similar issue when trying to execute a MATLAB makefile using bash and gcc. However, I found a solution by ...

3 months ago | 1

| accepted

Answered
Index exceeds array dimensions. Index value 7 exceeds valid range [1-6] for array 'u'. Error in 'control/MATLAB Function' (line 8) y=u(row,:);
Hi Ahmed, It looks like you're facing an issue with a persistent variable in your Simulink simulation. The error arises because...

3 months ago | 0

Answered
How to find path of the signal source from its name?
Hi Vick, To trace the origin of a signal in a Simulink model, you can utilize the‘SrcBlockHandle’and‘SrcPortHandle’parameters ...

3 months ago | 0

Answered
Deep Learning Toolbox Multiply by [] in Second Learning Iteration?
Hello Travis, I encountered a similar error while using the Deep Learning Toolbox in MATLAB 2021a. This error appears to occu...

3 months ago | 0

Answered
use sim with an ode solver, stop time, and time step
Hi Oliver, To configure the solver type, stop time, and time step for your model, you can use the ‘Simulink.SimulationInput’ o...

3 months ago | 0

Answered
Flow chart runs only once ?
Hi Xiaohong, When you connect a Stateflow 'default transition' to a flow chart, it is designed to execute only upon entry into...

3 months ago | 0

Answered
How to delete labels of bus selector in a fast and easy way?
Hi Zuyuan, I encountered the following issues while trying to remove labels from the output signals of a ‘Bus Selector’ block ...

3 months ago | 0

Answered
How to latch the value of an array signal at a particular timestep using Simulink
Hi Geethika, To latch the value of a signal at a particular timestep, you can use Simulink “Enabled subsystem” block in the Si...

3 months ago | 0

Answered
Incomplete large json string from SQL DB
Follow the steps given below, to retrieve full string of the field named ‘jsonfid’ with ‘NVARCHAR(MAX)’ datatype from a SQL db. ...

4 months ago | 0

Answered
The size of X must match the size of Z or the number of columns of Z.
Hi Kushagra, I understand you are trying to solve the 2d Laplace equation for heat conduction using forward difference scheme,...

4 months ago | 0

| accepted

Answered
Why are the final values for velocity and acceleration from bsplinepolytraj() always equal to zero?
Hi Everett, I understand that you want to know why the last values for the x and y components of velocity and acceleration ar...

4 months ago | 0

Answered
Capability analysis CPK vs PPK calculation?
Hi, I understand you want to calculate process performance index. I have calculated the Ppk value for vector ‘x’ using follo...

4 months ago | 0

Answered
Unable to launch local server from MATLAB 2015a
Hi, I understand you want to launch a web application using a local server. I am currently utilizing the ‘Python Flask’ fra...

4 months ago | 1

Answered
Problem with estimating PDF (ksdensity)
Hi Pepe, I understand you want to plot probability distribution functions for ‘detection’ and ‘in_process’. The steep curve...

4 months ago | 0