已回答
Centroid based object Tracking(vehicle tracking using image processing) ,Counting number of vehicles in video
Hi With certain modification to your code you can achieve your desired goal of displaying indexes for the car objects in the ...

4 months 前 | 0

已回答
Trying to find the neighboring pixel outside the region boundary along the centre
Hi Warid! I understand that you want to identify and analyse two specific types of pixels related to a ROI within an image out...

4 months 前 | 0

已回答
Plotting two signals referenced with each other
Hi, The functionality of plotting two signals against each other under the ‘powergui’ simulation is not provided by any built-...

4 months 前 | 0

已回答
Caught "std::exception" Exception message is: foundation::storage::vfs::Exception
Hi, The exception ‘foundation::storage::vfs::Exception’ occurs when the script tries to access a directory that is either unav...

4 months 前 | 0

已回答
Cannot compile the model. The model topology has been illegally changed since the model entered Restricted mode. Please restore the original model topology, or switch to Full
Hi Karan, Here is an existing MATLAB answer which might be helpful to you, as it addresses the same issue that you are facing....

4 months 前 | 0

已回答
Trigger event for graphic handle object?
Hi, In MATLAB, the ‘notify’ function is indeed designed to work with user-defined classes that inherit from the ‘handle’ class...

5 months 前 | 0

| 已接受

已回答
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 ...

6 months 前 | 0

已回答
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...

6 months 前 | 0

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

6 months 前 | 0

已回答
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...

6 months 前 | 0

已回答
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...

7 months 前 | 0

已回答
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,...

7 months 前 | 0

已回答
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...

7 months 前 | 0

已回答
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...

8 months 前 | 0

已解决


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...

1 year 前

已回答
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 ...

1 year 前 | 2

| 已接受

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 1

| 已接受

已回答
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([...

1 year 前 | 0

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

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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(...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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 ...

1 year 前 | 0

已回答
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)...

1 year 前 | 0