Respondida
Prediction time NN on STM board
Hi Giovanni, You could use the processor-in-the-loop (PIL) workflow available for STM32 boards to measure task execution times....

12 meses hace | 0

| aceptada

Respondida
Neglection of [outport]variable generated for bus assignment block
Hi Gowtham, As per the image you attached and some guesswork, this could be because you're using virtual buses throughout the ...

12 meses hace | 1

Respondida
How to export my workspace variables and bus structure to a csv file?
Hi Joshua, You can refer the following MATLAB Answer which answers a simiilar question and has multiple resolutions: https://w...

12 meses hace | 0

Respondida
Local variables are getting generated after code generation using embedded coder and if statement expression is not Boolean type throwing an error after running polyspace
Hi Mukund, I faced a similar issue and it was occuring because the underlying data type of boolean_t generated by Embedded cod...

alrededor de 1 año hace | 0

| aceptada

Respondida
Resulting Model Workspace when using Simulink InputObject
Hi Gunter, You can create a 'Simulink.ModelWorkspace' Object to interact with the model workspace of a model programmatically....

alrededor de 1 año hace | 0

Respondida
Run for loop 1000 times and get distribution of results
Hi, You can run the above code inside another for loop from 1 to 1000. In each iteration, you can store the value of the 128th ...

alrededor de 1 año hace | 0

Respondida
multivariate random numbers generation
Hi Devyani, you can achieve this in two very simple ways: You can set the value of the "Seed" parameter in the block dialog to ...

alrededor de 1 año hace | 0

Respondida
Issues with SIL Implementation and CCS Integration for AM263P4 using MATLAB Simulink and Embedded Coder
Hi Ramakrishna, I had faced the same issue some time back. The issue turned out to be that I had named one of the source files...

alrededor de 1 año hace | 1

Respondida
Design verifier Unsupported data pointer
Hi Yusuf, There was a known bug in R2019b and R2020a with similar symptoms. Maybe you're also facing the same issue, could you...

alrededor de 1 año hace | 0

Respondida
How can I generate a test, using Simulink Design Verifier, when there is a StateSpace block in the model?
Hi, Yes, it is currently not possible to generate tests for models containing the State-Space and a bunch of other blocks capt...

alrededor de 1 año hace | 0

Respondida
In which cases the coverage report (MCDC & Condition) of a block is influenced by the connection of the block's output with a scope?
Hi Ada, This could be because Simulink typically optimizes simulation by omitting some test-cases. However, when a scope block...

alrededor de 1 año hace | 0

Respondida
Error: required main procedure not found
When there is no 'main()' function in source code, Polyspace Code Prover stops with such an error message. You can ask polyspace...

alrededor de 1 año hace | 0

Respondida
code prover result analysis request // Global Variable – Shared - Potentially unprotected variable
The issue of "Potentially unprotected variable" arises in Polyspace Code Prover when analyzing multitasking programs. By default...

alrededor de 1 año hace | 0

Respondida
Why is the "Number of Paths" function metric in polyspace CMM report giving unusual values?
Polyspace computes the estimated static path count within a function, which represents the potential execution paths software ca...

alrededor de 1 año hace | 0

Respondida
Which Polyspace version is compatible to run MISRA C 2020 STANDARD
Hi Komirisetti, I assume that by MISRA C 2020, you are referring to MISRA C 2012 amendment 2 which was released in February 202...

alrededor de 1 año hace | 0

Respondida
Polyspace Orange Scalar Overflow error
Hi Dinesh, If you're confident that the orange check is incorrect, you may justify the orange check or add the code annotation...

alrededor de 1 año hace | 0

Respondida
How to use YOLOX.onnx for object detection in matlab
Using YOLOX in MATLAB requires installing the "Automated Visual Inspection Library for Computer Vision Toolbox" add-on. Can you ...

más de 1 año hace | 0

Respondida
is it possible to perform a nested Batch?
Hi Rub, You can have a look at the following documentation regarding nested parallelism. It outlines all different scenarios a...

más de 1 año hace | 0

Respondida
Tunable parameters in Simulink code generation
Hi, You can declare the variales in Model Workspace of the library block. This way, it will be distinct for each instance of t...

más de 1 año hace | 0

Respondida
Best way to test Simulink model that doesn't change over time
Hey Matt, You can probably write a matlab script that simulates your model programatically using the 'sim' command. The inputs ...

más de 1 año hace | 0

Respondida
Hyperspectral Image Compression with matlab
Hello Cev, You can use the 'dct2' function for compressing hyperspectral images. To compress hyperspectral images using the `d...

más de 1 año hace | 0

Respondida
Huffman source coding with Simulink
Hi, Implementing Huffman code from scratch using Simulink Blocks can be a challenging task as calculating the frequencies of in...

más de 1 año hace | 0

Respondida
HUFFMAN CODE SOURCE IN SIMULINK
Hi Isaura, Implementing Huffman code from scratch using Simulink Blocks can be a challenging task as calculating the frequencie...

más de 1 año hace | 0

Respondida
HELP Canonical Huffman coding
Hi Fyza, Please refer the following MATLAB Answer's for Canonical Hufffman Encoding: https://www.mathworks.com/support/searc...

más de 1 año hace | 0

Respondida
STM32F4xx SPI Block Error
Hi, This error typically occurs when the code generation information file doesn't exist and can arise due to various reasons. P...

más de 1 año hace | 0

Respondida
How to gather digital audio stream via STM32?
Hi Marek, It is possible to read audio signals from an STM board in Simulink. I am not sure if it is supported for the particu...

más de 1 año hace | 0

Respondida
How can I calculate the forces and moments on servo arms and couplers in a Stewart platform simulation using MATLAB
Hi, It is possible to analyze the forces and moments on the servo arms and couplers of your Stewart platform using MATLAB and ...

más de 1 año hace | 1

| aceptada

Respondida
how to set initial signal out from relay simulink
Hi Ahmad, To set the initial output of a Relay block in Simulink to be ON (1) under certain conditions, you can use a workarou...

más de 1 año hace | 0

| aceptada

Respondida
Data Race Atomic Operations
Hi, Data races occur when multiple threads access shared data at the same time, with at least one thread performing a write ope...

más de 1 año hace | 0

Respondida
FIR filtering using firpm
Hi John, You can use the 'firpm' function to create a bandpass FIR filter to eliminate DC at 60 Hz and high-frequency noise. T...

más de 1 año hace | 0

Cargar más