Answered
How do I change the color scheme of a basemap in MATLAB?
In MATLAB 2023a and onwards, you can modify the appearance, including colors and fonts, of vector basemaps. Please take a look a...

2 years ago | 0

| accepted

Answered
What are the supported data types when designing a Simulink application for TI C2000?
Texas Instruments C2000™ MCUs support 16-bit and 32-bit data types. Simulink® models and Embedded Coder® software support many d...

2 years ago | 0

| accepted

Answered
Can I use the same test cases for both a fixed-point and floating-point model in Simulink Test?
Simulink Test supports fixed-point models in both MIL and SIL workflows, and the "Test from Spreadsheet" workflow will enable yo...

2 years ago | 0

| accepted

Answered
Why do I get warning about Common Hyphenation while creating pdf with MATLAB Report Generator?
This is an expected behavior while using the DOM API. ‘mlreportgen.dom.Table’ uses a zero-width space (character x200b) as its h...

2 years ago | 0

| accepted

Answered
Why do conditional statements get optimized out in the code generated by Embedded Coder?
This is an expected optimization performed by Embedded Coder. For example, the code could be written such that "my_var" can neve...

2 years ago | 0

| accepted

Answered
Why is the saturation model of the Three-Phase Transformer (Two Windings) block not converging?
This issue is related to the 'Discrete solver model' selected for the saturation model of the transformers. The solver used in y...

2 years ago | 0

| accepted

Answered
How to get data from impulse response plot of SerDes model
The SerDes Designer App backend is statistical analysis based and runs the same analysis that the pop-up display in Simulink doe...

2 years ago | 1

| accepted

Answered
Does the "sinr" function handle interference or multipath?
The "sinr" function computes the ratio of total received power from a signal source to total received power from non-signal sour...

2 years ago | 0

| accepted

Answered
How can I export the results of the Wireless Waveform Generator app to a MATLAB plot?
The only way to output the plot of the Wireless Waveform Generator app is to export the results and then use the results to gene...

2 years ago | 0

| accepted

Answered
How to read from a specific part of EEPROM via SPI in R2016a?
Since the workflow is not directly available in MATLAB R2016a, the best alternative would be to upgrade to a newer release of MA...

2 years ago | 0

| accepted

Answered
Do I need to write a TLC when using an S-Function in Rapid Accelerator mode?
A TLC is not required to run a model with a custom C S-Function in Rapid Accelerator mode. You can confirm this with the demo "s...

2 years ago | 0

| accepted

Answered
Why does the notation for the LMS Update algorithm differ from that of the referenced materials?
The differences in the formulation of the LMS adaptive filter algorithm do not change its underlying principles. The differences...

2 years ago | 0

| accepted

Answered
Why does the Concurrent Execution pane say "ignored" next to Tasks and Mapping?
That appears because you have not checked the box labeled "Enable explicit model partitioning for concurrent behavior": For m...

2 years ago | 0

| accepted

Answered
When using GPU Coder, how should I try to minimize how often data is transferred between CPU AND GPU?
GPU Coder tries to minimize copies between CPU and GPU. CPU/GPU copies purely depend on data access patterns. To access the rele...

2 years ago | 0

| accepted

Answered
How can I securely package credentials into a MATLAB Compiler application?
Please note that there is no general best way to secure credentials because this security measure is very context-dependent. Tha...

2 years ago | 0

| accepted

Answered
How do I create an enumeration type for a BITFIELD_TEXTTABLE entry in the AUTOSAR Blockset R2020b?
The most suitable workaround is to upgrade to the AUTOSAR Blockset R2022b release so that you have access to future support for ...

2 years ago | 0

| accepted

Answered
Why do Git operations fail in the MATLAB desktop client with the error "There are not any available kexes" in MATLAB R2020b?
This error can be caused by either of the following: 1. The SSH key exchange can fail due to JAVA failing to provide appropriate...

2 years ago | 0

| accepted

Answered
"polyfit" produced unexpected results with the three-output syntax
This observed behaviour of the results from "polyfit" is expected because the three-output command syntax centres the "x" data a...

2 years ago | 0

| accepted

Answered
Why does mxCreateDoubleMatrix() returns NULL?
Call the following API before using 'mxCreateDoubleMatrix' >> mclInitializeApplication This sets up the application stat...

2 years ago | 0

| accepted

Answered
What is the expected sign convention of the 6DoF Animation Block?
The altitude input should be specified such that a positive value signifies the downward direction. This aligns with the output ...

2 years ago | 0

| accepted

Answered
How to weight the distances by class size in 'fitcknn'?
You can make use of the name-value pair "Prior" in "fitcknn" to achieve your workflow. Refer to the example below: load fisheri...

2 years ago | 0

| accepted

Answered
Set starting position of a Uniform Circular Array
Currently, there are no additional arguments for uniform circular arrays ('phased.UCA') that allows you to set the starting loca...

2 years ago | 0

| accepted

Answered
Why do Simulink requirement links not show up in generated code comments for Stateflow objects, when working with GITLAB ?
To resolve this issue, verify the following:Ensure the SLMX file is checked in on git. To understand the importance of SLMX file...

2 years ago | 0

| accepted

Answered
Where can I find the example 'Timing Recovery Using Fixed-Rate Resampling' in R2020b
Please see the following points: 1) The example was intentionally removed post R2019a for internal reasons. However, documentati...

2 years ago | 0

| accepted

Answered
Why don't I get full coverage for my model even though each subsystem has full coverage?
Based on the definition of coverage provided in the documentation on Model Coverage, your system-level tests need to fully exerc...

2 years ago | 0

| accepted

Answered
How do I get coverage for all instances of a library block in a model?
Simulink library blocks receive the same coverage that they would receive if they were not linked to library objects. Each insta...

2 years ago | 0

| accepted

Answered
How can I use the new World Magnetic Model coefficient file (related to 2020) in the R2019b?
The WMM2020 coefficients were released by NOAA yesterday (12/10). The World Magnetic Model block in R2020a will support WMM2020 ...

2 years ago | 0

| accepted

Answered
How to create a test harness without doing a model compilation in R2020a?
You can do this easily with the toolbox Simulink Test. There you can create a test harness while not compiling the model, as you...

2 years ago | 0

| accepted

Answered
Can I create a Standalone executable for Hardware-in-the-loop (HIL) using Simulink Real-Time?
Yes, you can definitely perform standalone operations with Simulink Real-Time, including HIL simulations. For more details abou...

2 years ago | 0

| accepted

Answered
Can I use "mpiprofile" on a "parfor" loop?
Support for using "mpiprofile" on "parfor" loops was added in MATLAB R2020a: https://www.mathworks.com/help/releases/R2020a/para...

2 years ago | 0

| accepted

Load more