已回答
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...

3 months 前 | 0

已回答
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...

3 months 前 | 0

已回答
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...

3 months 前 | 0

已回答
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...

3 months 前 | 0

已回答
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...

3 months 前 | 0

已回答
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 ...

3 months 前 | 0

| 已接受

已回答
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...

3 months 前 | 0

已回答
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...

3 months 前 | 0

已回答
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...

3 months 前 | 0

已回答
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 ...

3 months 前 | 0

已回答
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...

3 months 前 | 0

已回答
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 ...

3 months 前 | 0

已回答
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...

3 months 前 | 0

已回答
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 ...

3 months 前 | 0

| 已接受

已回答
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...

3 months 前 | 0

已回答
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 ...

3 months 前 | 0

| 已接受

已回答
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...

3 months 前 | 0

已回答
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...

3 months 前 | 0

| 已接受

已回答
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...

3 months 前 | 0

已回答
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...

3 months 前 | 1

| 已接受

已回答
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...

3 months 前 | 0

已回答
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...

3 months 前 | 0

已回答
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...

4 months 前 | 0

已回答
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...

4 months 前 | 1

已回答
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. ...

4 months 前 | 0

已回答
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...

4 months 前 | 0

已回答
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...

4 months 前 | 0

已回答
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...

4 months 前 | 0

已回答
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. ...

4 months 前 | 0

已回答
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.

4 months 前 | 0

| 已接受

加载更多