
Akshat Dalal
Followers: 0 Following: 0
Statistics
0 Questions
129 Answers
RANK
992
of 298,528
REPUTATION
76
CONTRIBUTIONS
0 Questions
129 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
7
RANK
of 20,607
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 161,568
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
How can I get the checksum of a compiled model?
Hi Nathan, The checksum obtained via Simulink.BlockDiagram.getChecksum is typically used for determining if Simulink needs to ...
25 days ago | 0
Why is Simulink Accelerator Regenerating Code?
Hi Alex, The model should ideally not rebuild if the checksums are same before and after changing the model. It might be that ...
25 days ago | 0
Re-use handles if model is closed and re-opened
Hi Joe, I don't quite understand the necessity of using handles. Why don't you use something like signal names or other identi...
2 months ago | 0
I am getting an error in running the following model
Hi Varun, This error mostly occurs due to an unrealised divide by zero in the modelling logic. You can try the following steps...
2 months ago | 0
While using default medain function in simulink for calculating median i am facing overflow design error . Why is it so ?
Hi Poorna, I believe since SLDV is a static analysis tool, it does not analyse the possible value of the input 'u' unless you ...
2 months ago | 0
How get signal name & change its property between Test Harness & test sequence block ?
Hi Megha, I understand you have already found the signals in your harness. You should be able to filter the signals based on t...
2 months ago | 0
How can I programmatically change the names of input variables in a Simulink Test Assessment Block?
Hi Adam, Not sure if this is possible in older releases but you could use 'sltest.testmanager.AssessmentSymbol' in newer relea...
2 months ago | 0
How to edit Test Sequence/Assessment block parameters via code
Hi Michael, You can use sltest.testsequence.editStep function. You can use the 'Name-Value' pair to edit and specify the conte...
2 months ago | 0
Simulink Test AggregatedTest Coverage Results
Hi Ricard, I don't think this is possible. Coverage is different for each harness and cannot be combined for different models. ...
2 months ago | 0
Is it possible to define the coverage (DC or MC / DC) with my own cells (which I developed)
Hi Fabien, I am not sure if this is possible in older releases but newer releases definietly have a way for this. You can crea...
2 months ago | 0
Embedded coder handling data dictionary parameters differently depending on their location in a model hierarchy
Hi Benjamin, When parameters are used in a referenced model, Embedded Coder often generates them as global variables with a pr...
2 months ago | 0
How to use design verifier with incompatible simulink models?
Hi Tushar, You will have to write your own block replacement rules to handle the unsupported blocks for SLDV. Please refer the...
2 months ago | 0
How to access a data store block in a subsystem?
Hi Iman, You could potentially model it as an global DSM with the Simulink.Signal defined in the base workspace. Please refer ...
2 months ago | 0
Is it possible to access local data from a chart in a simulink state?
Hi Jonathan, Yes, it is possible to access data stores from stateflow charts. Please refer to the following documentation for ...
2 months ago | 0
Corresponding Read/Write Blocks of a Data Store Memory
Hi You can utilize the 'find_system' API to find the Data store read/write blocks for any particular DSM block as shown below:...
2 months ago | 0
Scalar expansion for data store memory initialization simulink
Hi Thomas, I believe this error could be because of the following scenario: You might have put the dimensions to "-1" and also...
2 months ago | 0
Data Store Memory Block not found
Hi Vishakha, The error might probably be stemming from some local cache or unsave changes. You could try saving/resaving the m...
2 months ago | 0
How to convert string data to double data in Matlab Function Block ?
Hi, You can refer the following MATLAB Answer which also discusses the same topic: https://www.mathworks.com/matlabcentral/ans...
2 months ago | 0
How can I save data in Simulink realtime model using coder.ceval() for fwrite?
Hi The following resource should be helpful: https://www.mathworks.com/matlabcentral/answers/80503-how-to-use-real-time-worksh...
2 months ago | 0
Matlab with external C function: coder.ceval pass a pointer to a structure (including arrays) to a external function
Hi Michael, The error message you're encountering suggests that the coder.ref function is being used incorrectly. This function...
2 months ago | 0
The coder.ceval function is not supported in MATLAB.
Hi Abdul, The error message: The coder.ceval function is not supported in MATLAB. is thrown when using coder.ceval in a MATLA...
2 months ago | 0
Coder.ceval - Linking problem during compilation
Hi Arwel, You don't need to explicitly specify the 'linkonly' argument in the coder.updateBuildInf call. You can directly pass...
2 months ago | 0
Strange Error from codegen: "Error indenting generated C code"
Hi John, The following discussion thread might be helpful: https://stackoverflow.com/questions/22013266/matlab-coder-error-ind...
2 months ago | 0
Codegen of header comments
Hi You can modify the default code generation template. It has a <SourceGeneratedOn> token which generates the date. Please ref...
2 months ago | 0
Plot 2D image on 3D by the use of isonormals
Hi José, You can plot this by utlizing the volume data you used for creating the 3D plot. Extract the sagittal slice from your...
2 months ago | 0
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....
3 months ago | 0
| accepted
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 ...
3 months ago | 1
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...
3 months ago | 0
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...
4 months 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....
4 months ago | 0