已回答
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...

1 year 前 | 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...

1 year 前 | 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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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 ...

1 year 前 | 0

已回答
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...

1 year 前 | 1

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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,...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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 ...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

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

1 year 前 | 0

| 已接受

已回答
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...

1 year 前 | 0

已回答
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/...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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 ...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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...

1 year 前 | 0

已回答
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....

1 year 前 | 0

加载更多