Answered
Simulink Embedded Coder Zero Initialization of Local Variables Not Working
Hi Furkan, There can still be some other optimizations which can remove the zero-initialization code. You could either disable...

3 months ago | 0

Answered
Simulink model -Code generation
Hi Jerome, One way to achieve this is to use the “ssRTWGenIsCodeGen” function. This function detects whether the S-Function is ...

3 months ago | 0

Answered
Embedded Coder C-Code Abruf von Daten
Hallo Markus, Leider bin ich mit Deutsch nicht vertraut und werde auf Englisch antworten. The rtw_solver.h and rtw_continuous...

3 months ago | 1

Answered
Possible Ways to Modifying "Prefix" of Memory Map Header on generated AUTOSAR Code
Hi Onur, The pre and post statements you see are not because of the memory section defined in the CSCDesigner app but to be co...

3 months ago | 0

Answered
Regarding the connection of cloud or router to simulink blocks.
Hi Saranya, Yes, it is possible to connect Simulink to external data sources, including routers or cloud services, to get liv...

4 months ago | 0

| accepted

Answered
MEX compilation failed with message: C compiler produced errors. See build log for compiler error:
Hi Jeevan, This issue might be happening because the mex compiler is unable to find the CPP file for your function.This might h...

5 months ago | 0

Answered
Inconsistent SIL and Normal mode simulation results (Equivalence Criteria Failing )
The issue you are facing is an expected behavior of SIL simulation. Consider a model that references a child model using the “M...

5 months ago | 0

Answered
Importing Excel data into Simulink for giving as input signal - Contains Enumeration values also
Hi Varunjith, For the excel sheet to comply with Signal builder while importing, it should not contain non-numeric values. So,...

5 months ago | 0

Answered
How can I swap states in a simulink "for each" system?
Hi James, The issue you're facing is likely due to the fact that the state update in your simulation happens in discrete time s...

5 months ago | 0

Answered
Image labeller cannot save sessions
Hi Karl, The error messages point to an issue while importing the Image data. This could potentially happen because the image ...

5 months ago | 0

Answered
Is there an option to avoid generating translations in the generated code from a Simulink Model that is created by importing an arxml with Interfaces Mapped to COMPU METTHODS?
Hi Rajni, By translations, I am assuming you mean the comments explaining the code generated from the model. Your attached scr...

5 months ago | 0

Answered
How to use a function within optiproblem?
Hi Anthony, The error you're encountering is due to the way "min" function is being used within the "optimproblem" context. The...

7 months ago | 0

Answered
Image segmentation on difficult background
Hi, I believe you've tried a broad range of conventional methods without satisfactory results, it might be worthwhile to explo...

7 months ago | 0

Answered
NMPC time minimization problem
Hi Almudena, In typical MPC formulations, the cost function is designed to penalize deviations from desired states and/or cont...

7 months ago | 0

| accepted

Answered
backtestStrategy: rebalance function keeps track of past & current open position
Hi Andy, I believe you could use the 'UserData' field in the rebalance function to pass the Position's Table as an input argum...

8 months ago | 0

Answered
How to generate code for model which uses an export-function reference model?
Hi Cornelia, I believe the error you're getting is a documented limitation mentioned here - https://in.mathworks.com/help/rtw/...

8 months ago | 0

Answered
How to get transform between two fixed frames using a camera
Hi Lara, I understand you want to use MATLAB to define fixed frames using 2 cameras to compute transforms between them. This is...

11 months ago | 0

Answered
Simscape multibody with reduced order flexible block
Hi, I understand you are modeling a finn with undulatory motion and facing an error. The model throws that error because there ...

11 months ago | 0

Answered
Statistical features gives a probability one for all features, while importing ensemble table to diagnostic feature designer.
Hi Sed, I understand that you want to rank features using the Diagnostic Feature Designer App but are getting a probability of...

11 months ago | 0

Answered
Camera using the genTL interface disappears when using imaqreset
Hi Matt, I understand you are unable to connect your camera using the 'imaqreset' function. Based on both the problems you desc...

11 months ago | 0

Answered
How to modify Mass in EvReferenceApplication to be "Mass + adder"?
Hi Mark, I understand that you want to modify the 'EvReferenceApplication' to accumulate all the individual weights into a sin...

11 months ago | 0

Answered
Function that solves ODEs using Euler's Method
Hi Alyssar, I understand that you want to write a function for solving ODE's using the Euler method but are facing some errors....

11 months ago | 0

Answered
Analyzing the colour change over multiple images.
Hi Frederic, I understand that you want to analyse the accumulated change of the intermixing region between 900 images in a si...

11 months ago | 0

Answered
why does the error "the protected model XX was created with an incompatible version of slprj" occur, in Matlab 2017b, and with same version as the sender?
Hi Wonjin, This is a known issue in the older versions of MATLAB and the root cause is the version difference in the slprj fol...

11 months ago | 0

| accepted

Answered
Does capturing baseline data in Simulink Test Manager change the model configuration?
Hi Philipp, I understand that you want to capture the 'baseline data' in a model with configuration reference but are facing a...

11 months ago | 0

Answered
How can I apply agglomerative hierarhical clustering based on the distance between regions?
Hi Demir, I understand that you want to do cluster analysis of irregularly shaped data but do not want to use centroid-based a...

11 months ago | 0

Answered
Trouble Unwrapping Phase Data
Hi Spencer, I understand that you are getting circular data which could be represented as either degrees or radians, and you wa...

11 months ago | 0

Answered
How to define 'layers' for single to multiple sequence regression using lstm network?
Hi Nasrin, I understand that you want to create a deep learning model wherein you can clean a noisy signal and also get the no...

11 months ago | 0

| accepted

Answered
How can I disable Assertion block data logging in the Simulink Data Inspector?
Hi Matthew, I understand that you are using the ‘World Magnetic Model’ Block from the Aerospace Blockset and want to stop data...

12 months ago | 0

Answered
Log a Subset of Signals using fast restart
Hi Riccardo, I understand that you want to log a subset of signals in your model while using the ‘fastRestart’ mode, but ‘Data...

1 year ago | 0

Load more