Beantwortet
the scope in simulink doesn't show some specific signal.
Hi @ED, There can be few reasons for the signal not being plotted in the scope block, kindly see if the following points are h...

6 Monate vor | 0

Beantwortet
Live script fprintf temporarily not printing whole line
Hi @Zel Hurewitz, I agree with what you mentioned, ‘fprintf’ does behave inconsistently in live editor. I’ve also faced the si...

6 Monate vor | 0

Beantwortet
Simply trying to find a value in the same row as my known value but in a different column.
Hi @Blake, If you want to obtain the index of a specific value in your matrix, you can use the "find" function, which returns t...

6 Monate vor | 0

Beantwortet
Define as Not called by generated main
Hi Shaku, PolySpace Code Prover generally starts the analysis from an entry point, usually the main function or a function spe...

6 Monate vor | 0

Beantwortet
Generic C code generation with Simulink
Hi Alvins, As per my understanding, you are trying to generate C code from Simulink model which involves ‘MATLAB function’ blo...

6 Monate vor | 0

Beantwortet
Functional programming and idea-oriented Git branching strategy
Hi @Simon, Looks like you are on right track as you have started using a software for version control, but “Gitflow” can be a ...

6 Monate vor | 0

| akzeptiert

Beantwortet
how to velocize execution code
Hi Luca, As per my understanding, you are trying to fill a new logical array “res” which is assigned a value of 0 if the logic...

6 Monate vor | 0

Beantwortet
Generate mlint warning when variable is not unused
Hi @tommsch, The warning message about “Value assigned to variable might be unused” at line 3 in your example is because “mlin...

6 Monate vor | 0

Beantwortet
Matlab c code generation
Hi @Chiluveru Manishankar, If you go through the documentation of cell array it clearly says that we should use curly braces t...

6 Monate vor | 0

Beantwortet
Create Bus Element Ports from Bus Creator with a Bus Object
Hi @Mark Wörner, As per my understanding you are trying to transform Simulink.bus object to Simulink Bus elements ports. This ...

6 Monate vor | 0

Beantwortet
Access the Simulink.Bus elements from cell array of Bus objects.
Hi @Anju Mohokar, As per my understanding you have a cell array of cell arrays which contains Simulink.bus elements and you wa...

6 Monate vor | 0

Beantwortet
Deactivated MATLAB license on one computer but would not activate on another
Hi @Keith, As per the agreement you have a limited number of licence transfers that you can perform in a year. You can follow ...

6 Monate vor | 0

Beantwortet
Failed to build model using LCC in rapid accelerator mode
Hi @Abdullah, The warning message you are receiving appears if an unrelated 'codedescriptor.dmr' file is found on the search p...

6 Monate vor | 0

Beantwortet
How can I save my figure to eps AND keep white margins (from my defined figure and axes position)?
Hi @Zoe, If we go through the documentation of “Printing and Exporting” property of figure then we can see that we should use ...

6 Monate vor | 0

| akzeptiert

Beantwortet
extract 1 row data of 1 table
Hi hang dong, There are few ways how this can be achieved. 1. If you don’t have fixed value to search on every time, you can...

6 Monate vor | 0

Beantwortet
The radar auto driving example could not get the result I expected
Hi @Xuedong, You are correct that two figures are generated as part of the example, but on running the model you can only see ...

6 Monate vor | 0

| akzeptiert

Beantwortet
How can I get the mean of my rgb2gray image and show the new image?
Hi Rebecca, As per my understanding you are trying to display an image with the mean value of the gray image. To do that yo...

6 Monate vor | 0

Beantwortet
Combine multiple images (imfuse)
Hi @MechenG, The issue encountered is due to how images are combined. The “cat” function is concatenating the images along the...

6 Monate vor | 0

| akzeptiert

Beantwortet
How to generate boxplot from data in struct
Hi Asef Islam, To do this, we must first format the data which can be read by the “boxplot” function. Let’s the group the data...

6 Monate vor | 0

Beantwortet
Remogenerate optimized code by removing code for out-of-range floating point to integer conversions did not improve execution speed,is there a problem?
Hi @peter, Using the optimization technique of “removing out of range floating-point to integer” may not always give the requir...

6 Monate vor | 1

| akzeptiert

Beantwortet
Reading data from Microsoft Excel
Hi @Kelechi Nwosu, There can be few reasons for getting errors while using the “xlsread” function. Kindly follow these tro...

6 Monate vor | 0

Beantwortet
How to Access Enum Bus Signal in Variant Subsystem within Referenced Model?
Hi @Achraf, As per my understanding you are working with a variant subsystem in your base model, and you have an enumerated bu...

6 Monate vor | 0

Beantwortet
Accelerometer measuremet of pixhawk 6X using UWAV Toolbox Support Package for PX4 Autopilots, MATLAB 2024a
Hi @Sakahisa Nagai, To help you solve the issue, I would recommend you go through the documentation for deployment on unsuppor...

6 Monate vor | 0

Beantwortet
An efficient way to round decimal numbers up to the n-decimal in a cell array
Hi @Sim, Yes, this can be efficiently done using the "cellfun" function in MATLAB. "cellfun" applies a particular function to...

6 Monate vor | 1

Beantwortet
My model have the ouput as input feedback, which is bus signal . Is there is any possibility of directly giving the output bus as input in simulink model.
Hi, As per my understanding you have a bus output, and you want to directly use that as the feedback input in your system. ...

6 Monate vor | 0

Beantwortet
Issue Plotting Array in Imagesc
Hi, This happens when “imagesc” automatically tries to scale the colormap based on the range of data in array. It makes it hard...

6 Monate vor | 0

Beantwortet
Plot a heatmap using small size data
Hi, The problem with encountering NaN values generally comes when the data size is small. In this scenario, to get a better vi...

7 Monate vor | 0

Beantwortet
MATLAB only plotting most recent graph
Hi Anjana, As we can see we are using default “figure” objects in the code, and all the default figures have same "Position” p...

7 Monate vor | 0

Beantwortet
Inputing all variables in a saved file through a function
Hi Chris, As per my understanding you want to perform an operation on various fields of structures stored in the saved file. ...

7 Monate vor | 0

Beantwortet
How to continue drawing bar charts on the basis of drawing maps
Hi Hongyun, You might want to have a look at this Merging a bar chart with a map, which does exactly that.

7 Monate vor | 0

| akzeptiert

Mehr laden