Respondida
Unable to use Localizable/FileScope storage for signal state variables while generating C++ code generation. For C code generation I am able to use it.
Hi @Priyanka, I was also facing the issue while generating code in C++, and after going through the bug reports and documentati...

alrededor de 1 año hace | 0

Respondida
How can I use custom storage class for defining global variables in matlab code for code generation?
Hi @anamika kumari, To use a custom Storage Class in MATLAB, follow these steps: Open your Simulink model. Go to the C Code t...

alrededor de 1 año hace | 1

Respondida
Plot 3-way anova for given variable
Hi @Elzbieta, To perform a three-way ANOVA in MATLAB and plot the results for each device separately, you can follow these step...

alrededor de 1 año hace | 1

Respondida
Importing large .csv by READTABLE gives wrong results
Hi @Weronika Huss, One way to fix this issue is to adjust the formatting of the CSV file. Some lines have an inconsistent numbe...

más de 1 año hace | 0

Respondida
is it possible to perform a nested Batch?
Hi @Rub Ron, Upon going through the documentations, I found that running nested "batch" calls in MATLAB can be tricky because e...

más de 1 año hace | 0

Respondida
Problems with pulse and LEADING/LAGGING Tolerance in Test Manager
Hi @Claudio Ciciriello, As you noted, Simulink Test Manager applies "leading and lagging tolerances" to allow for acceptable ti...

más de 1 año hace | 1

| aceptada

Respondida
Why do I encounter that "rtw.connectivity.HostLauncher: stopped executable with host process identifier xx" when attempting to deploy the Simulink model on hardware?
Hi @昱颖 陈, I encountered a similar issue and, upon examining the documentation, I found the following bug report: https://www.ma...

más de 1 año hace | 0

Respondida
How can I define the additive process noise for optimal tuning?
Hi @Xinyu Yang, I understand your concern as when dealing with EKFs, tuning the process noise covariance matrix is crucial for ...

más de 1 año hace | 0

Respondida
How do I plot an integral which is repeated over an interval?
Hi Mitchell, To save the values of "alpha_bar_s" as a vector and plot them against the wavelength, you need to store each compu...

más de 1 año hace | 1

Respondida
I am getting errors that I am using ".*" and "*" wrongly in my matrix multiplications in my code. I am poor at matrix algebra and don't know when to use each operator.
Hi William, It looks like you're encountering issues with using element-wise operations (.*) and matrix operations (*) in MATLA...

más de 1 año hace | 0

Respondida
Highlight in model in testmanager
Hi, To highlight a specific step in "sltest.harness" from the results of "sltest.testmanager" you can follow these general step...

más de 1 año hace | 0

Respondida
What is the method of interpolation in the function pdeinterpolant?
Hi Alex, The "pdeInterpolant" function in MATLAB is used to interpolate solutions of partial differential equations (PDEs) at a...

más de 1 año hace | 1

Respondida
The make command returned an error of 2
Hi, The error "No rule to make target" is typically thrown by the make/gmake build automation tool because it can't find the in...

más de 1 año hace | 0

Respondida
Table-based battery sometimes stops charging
Hi Diogo, When addressing such scenarios in which terminal voltage exceeds the maximum allowed value during the charging proces...

más de 1 año hace | 0

Respondida
Arduino simulink gets wrong timing with pulse generator
Hi Francesco, It sounds like you're encountering a timing issue when trying to perform both LED blinking and serial communicati...

más de 1 año hace | 1

Respondida
Mesh problems for large aspect ratio object
Hi John, When dealing with thermal modeling of a thin film heater, especially with high aspect ratios, ensuring that the mesh i...

más de 1 año hace | 1

| aceptada

Respondida
Pack (Generated Block) BatteryBuilder: How can I limit my SOC from 0 to 1
Hi Felix, When addressing such scenarios in which you could still charge the battery above the maximum voltage by applying a po...

más de 1 año hace | 0

| aceptada

Respondida
How to Generate a 3D Radiation Pattern Similar to Sensor Array Analyzer in MATLAB using code?
Hi Thibaut, To generate a 3D radiation pattern line-by-line in MATLAB, similar to the Sensor Array Analyzer app, you can use a ...

más de 1 año hace | 0

Respondida
ROS2 Toolbox error when I try to add custom service/message
Hi Federico, The above error message may be caused by certain paths being present in your "PATH" variable and/or other environm...

más de 1 año hace | 0

Respondida
How to read input and output response graphs in the MPC Designer
Hi Sein, From the image you provided, the "input response graph" shows a step function that starts at zero, steps up to a certa...

más de 1 año hace | 0

Respondida
Sequence oder Featureinput layer ?
Hi Tobias, Instead of using a "sequenceInputLayer", you can use a standard "feedforwardnet" in MATLAB. You can follow the below...

más de 1 año hace | 0

Respondida
Getting warning in Model Advisor Exclusion
Hi Dipali, The new file "modelAdvisorExclusions_convertedForMA.xml" should be located in the same directory as your original "m...

más de 1 año hace | 1

Respondida
Is NPRACH Detection Example available only on R2024 version?
Hi Raj, To determine the availability of a specific tool or command, such as "lteNPRACHDetect", you can refer to the MathWorks ...

más de 1 año hace | 0

| aceptada

Respondida
HOW TO PLOT ON THE SAME FIGURE PLOTS OF DIFFERENT SCRIPTS
Hi Pasquale, You can plot two graphs with same variables and parameters in the same figure by using functions to encapsulate th...

más de 1 año hace | 0

Respondida
How to display Chart diagram in a report, using report generator?
Hi Tommaso, To visualize only the top-level diagram of a chart in Simulink, you may refer to the below steps: Use the "get_par...

más de 1 año hace | 0

Respondida
Try/Catch inside the Simulink Function
Hi, When working with Simulink in MATLAB, the "try/catch" construct is not supported for code generation even when using "coder...

más de 1 año hace | 0

Respondida
configuration about simulink scope
Hi Wenchao, By default, the "Scope" block might display signals from Channel 1. If you want to change the active display to Cha...

más de 1 año hace | 0

| aceptada

Respondida
What principles does the accumulator for storing data (output or intermediate) follow after converting the model into C code using a C coder?
Hi Peter, When generating C code for Simulink models, the principles for storing data in accumulators generally follow these gu...

más de 1 año hace | 1

| aceptada

Respondida
is it possible to see what variables and functions affecting a certain variable ?
Hi Andre, To trace how a particular variable is affected throughout your code, you can use many different approaches such as MA...

más de 1 año hace | 0

Respondida
from workspace to MATLAB FUNCTION BLOCK in simulink unable to fetch data in scope
Hi Sangeeta, For importing data from the MATLAB Workspace, processing it using a MATLAB Function Block, and visualizing it usin...

más de 1 año hace | 0

Cargar más