photo

Akshat Dalal


Last seen: 7 days ago Active since 2023

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 3
  • 6 Month Streak
  • First Answer

View badges

Feeds

View by

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

27 days ago | 0

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

27 days ago | 0

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

27 days ago | 0

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

27 days ago | 0

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

27 days ago | 0

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

27 days ago | 0

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

27 days ago | 0

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

27 days ago | 0

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

28 days ago | 0

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

2 months ago | 0

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

2 months ago | 0

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

2 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 1

| accepted

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

3 months ago | 0

| accepted

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

Answered
How to classify a folder of images?
Hi Mohammed, You can use the classification learner app to build a machine learning model to identify the currency denominatio...

3 months ago | 0

Answered
Polyspace unbalanced/nested critical sections
Hello Mario, Polyspace Bug-Finder would be a more appropriate tool for analysing critical sections of your code for unbalanced...

3 months ago | 0

Answered
How to Fix Polyspace CodeProver Orange Overflow errors
Hi Dinesh, The unexpected orange integer overflow warning can be due to the below two reasons: Shared Variable: If you are p...

3 months ago | 0

Answered
How to create custom data type acronyms in code generation
Hi Marek, Unfortunately, Simulink Coder does not provide a direct way to customize the $A acronym for data types when using rep...

3 months ago | 0

| accepted

Answered
With Simulink Embedded Coder is it possible to change base workspace variables?
Hello Remi, I believe you could try using Data-Stores for this usecase. They are quite useful when you want to have a common m...

3 months ago | 0

Load more