Answered
How to save multiple figures generated from a single script?
Hi @yojitha etikala, Instead of saving figures from the scope, you could save the data from the scope into matlab workspace and...

1 year ago | 0

Answered
how convert field struct in cellarray
Hi @aldo Rank_DisplayIdxsis is already a cell array. When cell arrays are used as a value for struct field, then an array of st...

1 year ago | 0

Answered
Initializing UI Table App Designer
Hi Richard, This error is caused because you are converting the string arrays into cell arrays, because of which while concaten...

1 year ago | 0

Answered
How to solve the matrix P in the Lyapunov equation "A'P+PA=- Q" in Simulink
Hi LIULYAN, You can use a MATLAB function block and call the lyap function inside it to calculate P. Implement MATLAB Function...

1 year ago | 0

Answered
hi i have a function with 5 constraints , i need someone to help me write the 5th one
Hi Anwar, If your constraint is |S[k] - S[k-1]| > dSOCmin then the condition in the if statement should be if any(abs(dx)<=dS...

1 year ago | 0

Answered
Unable to Package App on App Designer
Hi Kuber, The import tool is not supported for code generation, so if you are using it in your app it will not work. Here's a v...

1 year ago | 0

Answered
How to code following equation in MATLAB ?
Hi Charu, There are a few issues with both your methods and I also have some doubts about the equation. Is B(m) a function of m...

1 year ago | 0

Answered
what ever follows "end" has error: parse error at time: usage might be invalid matlab syntax
Hi Yao, Functions always come at the end of a matlab script. So just put those commands before the function definition and it s...

1 year ago | 0

| accepted

Answered
UAV package delivery flight starting point
Hi, I think your problem might be solved by changing the initial world position. You may try using this: set_param(Plant, "I...

1 year ago | 0