Réponse apportée
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...

plus d'un an il y a | 0

Réponse apportée
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....

plus d'un an il y a | 0

Réponse apportée
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...

plus d'un an il y a | 0

| A accepté

Réponse apportée
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 ...

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

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

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

Réponse apportée
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,...

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

Réponse apportée
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...

presque 2 ans il y a | 0

A résolu


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

plus de 2 ans il y a

Réponse apportée
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 ...

plus de 2 ans il y a | 2

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
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([...

plus de 2 ans il y a | 0

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

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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(...

plus de 2 ans il y a | 0

Réponse apportée
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...

plus de 2 ans il y a | 0

Réponse apportée
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 ...

plus de 2 ans il y a | 0

Réponse apportée
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)...

plus de 2 ans il y a | 0