Risposto
find 0 crossing points trough all the image rows
Hi To apply the process of finding 0 crossing point of one row across all rows of the image, you can encapsulate your logic i...

6 mesi fa | 0

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

6 mesi fa | 0

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

6 mesi fa | 0

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

6 mesi fa | 0

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

6 mesi fa | 0

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

6 mesi fa | 0

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

6 mesi fa | 0

| accettato

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

8 mesi fa | 0

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

8 mesi fa | 0

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

8 mesi fa | 0

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

8 mesi fa | 0

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

9 mesi fa | 0

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

9 mesi fa | 0

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

9 mesi fa | 0

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

9 mesi fa | 0

Risolto


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

oltre un anno fa

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

oltre un anno fa | 2

| accettato

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

oltre un anno fa | 0

| accettato

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

oltre un anno fa | 0

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

oltre un anno fa | 1

| accettato

Risposto
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([...

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0

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

oltre un anno fa | 0