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

circa un anno fa | 0

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

circa un anno fa | 1

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

circa un anno fa | 1

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 1

| accettato

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 1

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 1

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 1

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

circa un anno fa | 1

| accettato

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

circa un anno fa | 0

| accettato

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 1

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

circa un anno fa | 0

| accettato

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

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

circa un anno fa | 0

| accettato

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

circa un anno fa | 1

| accettato

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

circa un anno fa | 0

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

oltre un anno fa | 0

Carica altro