Community Profile

photo

Satwik


Last seen: 11 days ago Active since 2023

Followers: 0   Following: 0

Programming Languages:
C++
Spoken Languages:
English
Pronouns:
He/him

Statistics

All
  • Knowledgeable Level 2
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
Find_system is not searching under Lookinside subsytem reference in v2021a
Hello Raju, I assume that the hierarchy of the model used is Subsystem Reference > Subsystem > LibraryLinks > Masked Subsystem ...

23 days ago | 0

Answered
can I use Model Predictive Controller in Simulink and coding in script at the same time? using MATLAB
Hello, To my knowledge, defining custom constraints and cost functions is only possible in Nonlinear MPC (NLMPC) and not in Lin...

1 month ago | 0

Answered
Build error in Simulink
Hi @Alexander Tuma! To resolve the issue you are encountering, you might find this MATLAB answer helpful, which outlines steps ...

1 month ago | 0

Answered
Model Advisor does not work for Reference Configuration
Hello Anna, it appears that the issue you are encountering with Model Advisor for Model References is due to a known bug in MATL...

1 month ago | 0

Answered
Why do I receive "Error using matlab.graphics.internal.getframeWithDecorations" error?
Hey, I was able to successfully run the code in MATLAB R2023b version without any errors. I got the following output. It app...

2 months ago | 0

Answered
FMU generation with closed loop control
In Simulink algebraic loops occur when there is a loop present in the block diagram that does not contain any dynamics, that is,...

2 months ago | 0

Answered
How good is the accuracy of the Simulink profiler?
By looking at the part of the report image provided, it is not clear whether you are looking at the summary or the detailed repo...

2 months ago | 0

Answered
Help with matlab C eval function
Ensure that the function name you use in “coder.ceval” matches the actual function name. In the code you provided, the C functio...

2 months ago | 0

Solved


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

10 months ago

Answered
Issue with MATLAB not finding my excel file even though its in the same folder as the .exe
When you deploy your MATLAB code as an executable app, you need to make sure that all required files, such as the Excel file in ...

10 months ago | 2

| accepted

Answered
Including maps in compiled apps
Using the "landcover" basemap for a geographical data application in AppDesigner should not cause any issues from a technical st...

10 months ago | 0

| accepted

Answered
Simulink HDL Coder equivalent to attribute synthesis off?
Yes, HDL Coder provides a mechanism for including or excluding code regions from synthesis using pragmas. Pragmas are special an...

11 months ago | 0

Answered
How can I set a initial value for input parameters in FMU?
When you create an FMU (Functional Mock-up Unit), you can define parameters with initial values in the FMU description file (mod...

11 months ago | 1

| accepted

Answered
Extract one-dimensional timeseries from multidimensional timeseries
Yes, you can index the data in a timeseries in MATLAB, including selecting a single dimension of the data. ts_3D = timeseries([...

11 months ago | 0

Answered
create a struct with two columns
for k = 1:7 name_char = '0001'; folder_char = 'C\.....'; end first_column = 'name_char'; second_column = 'folder_...

11 months ago | 0

Answered
How to control a brushless motor using a joystic on Matlab?
To control a brushless motor with a controller, you need to have a few key components: 1. Brushless motor: This is the motor th...

11 months ago | 0

Answered
Help with "Error using / Matrix dimensions must agree."
In order to perform elementwise division you should use ./ instead of / Air_desnity=[0.646:0.01:1.225] W_412_MTOW=5534; A_412...

11 months ago | 0

Answered
error using horzcat function
You can make the following change if your goal is to concatenate. tmp = zeros(4,6); theta = tmp; theta = [theta(:,1:6),zeros(...

11 months ago | 0

Answered
A unknown bug on matrix
The reason for this is that on adding space before '-', MATLAB interprets it as concatenation instead of subtraction. That is t...

11 months ago | 0

Answered
I am plotting a graph from strain vs stress from the tensile test experiment but it is starting form negative due to to compression forces how can I start it from positive .
I would suggest you to try the xlim function of MATLAB in your plot. This will allow you to decide the range of your plot. For ...

11 months ago | 0

Answered
How to compute a solution with a sum in matlab
s=0; for h=1:length(data) for t=h:length(data); s=s+data(t)*data(t-h) end if(s==0) disp(h)...

11 months ago | 0