Feeds
已回答
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...
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...
10 days 前 | 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...
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...
10 days 前 | 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 ...
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 ...
10 days 前 | 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 ...
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 ...
10 days 前 | 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:...
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:...
10 days 前 | 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...
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...
10 days 前 | 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...
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...
10 days 前 | 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...
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...
10 days 前 | 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...
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...
10 days 前 | 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...
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...
10 days 前 | 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...
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...
10 days 前 | 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...
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...
10 days 前 | 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...
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...
15 days 前 | 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...
Codegen of header comments
Hi You can modify the default code generation template. It has a <SourceGeneratedOn> token which generates the date. Please ref...
15 days 前 | 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...
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...
16 days 前 | 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....
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....
1 month 前 | 0
| 已接受
已回答
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 ...
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 ...
1 month 前 | 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...
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...
1 month 前 | 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...
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 months 前 | 0
| 已接受
已回答
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....
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 months 前 | 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 ...
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 ...
2 months 前 | 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 ...
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 ...
2 months 前 | 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...
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...
2 months 前 | 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...
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...
5 months 前 | 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...
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...
5 months 前 | 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...
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...
5 months 前 | 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...
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...
5 months 前 | 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...
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...
5 months 前 | 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...
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...
5 months 前 | 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...
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...
5 months 前 | 0