Akshat Dalal
Followers: 0 Following: 0
Statistics
0 Questions
101 Answers
RANK
1,068
of 296,558
REPUTATION
68
CONTRIBUTIONS
0 Questions
101 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
6
RANK
of 20,392
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 156,677
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
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...
2 days ago | 0
| accepted
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....
2 days ago | 0
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 ...
4 days ago | 0
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 ...
5 days ago | 0
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...
5 days ago | 1
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...
3 months ago | 0
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...
3 months ago | 0
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...
3 months ago | 0
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...
3 months ago | 0
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...
3 months ago | 0
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...
3 months ago | 0
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...
3 months ago | 0
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...
3 months ago | 0
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 ...
3 months ago | 0
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...
4 months ago | 0
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...
4 months ago | 0
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 ...
4 months ago | 0
Hyperspectral Image Compression with matlab
Hello Cev, You can use the 'dct2' function for compressing hyperspectral images. To compress hyperspectral images using the `d...
5 months ago | 0
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...
5 months ago | 0
HUFFMAN CODE SOURCE IN SIMULINK
Hi Isaura, Implementing Huffman code from scratch using Simulink Blocks can be a challenging task as calculating the frequencie...
5 months ago | 0
HELP Canonical Huffman coding
Hi Fyza, Please refer the following MATLAB Answer's for Canonical Hufffman Encoding: https://www.mathworks.com/support/searc...
5 months ago | 0
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...
5 months ago | 0
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...
5 months ago | 0
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 ...
5 months ago | 1
| accepted
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...
5 months ago | 0
| accepted
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...
5 months ago | 0
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...
5 months ago | 0
design(fdesign.lowpass()) vs dsp.Filter(firpm())
Hi Axel, Designing a strict low-pass filter (LPF) with specifications like a 0.5 Hz passband, 1 Hz stopband, 0.01 passband ripp...
5 months ago | 0
Terminate Code Generation Process
Hi David, You could encapsulate your scripts in try-catch blocks. Threfore, if the script errors out, you can debug it easily b...
5 months ago | 0
How to create a component reference in the system composer from a simscape component
Hello Flavio, It is possible to create a simscape component that can be referencedn inside a System Composer application and h...
5 months ago | 0