Answered
How can I tilt or rotate the reflector in a reflector cross-dipole (turnstile) antenna in R2024b?
Yes, it is possible to tilt the reflector and not the exciter. However, custom 3D geometry workflows will be required. The code ...

8 months ago | 0

| accepted

Question


How can I tilt or rotate the reflector in a reflector cross-dipole (turnstile) antenna in R2024b?
 In R2024b, I'm trying to rotate the reflector in a reflector cross-dipole (turnstile) antenna using the following code: c...

8 months ago | 1 answer | 0

1

answer

Answered
Why do I get an error saying "No data for report generation" when I try to generate test reports in a "parfor" loop in MATLAB R2023b?
As of MATLAB R2023b, generating report in parallel is a limitation in Simulink Test Report Generation. However, it is possible ...

8 months ago | 0

| accepted

Answered
How do I resolve the code replacement library error: "incompatible with hardware implementation" when building a TI C2000 model?
This is expected behavior when the option "ProdEqTarget" (Configuration Parameters > Hardware Implementation > Advanced pa...

8 months ago | 0

| accepted

Answered
How can I resolve the "malformed URL" error when clicking "pull / push" in the "Source Control" tab in MATLAB R2021a?
As of R2021a, we use a different library for Git. Its behavior matches command-line Git more closely and it will look up environ...

8 months ago | 0

| accepted

Answered
Why am I getting a "Unmatched parameter name" error when trying to connect to a database using the "database" command in MATLAB R2024b?
This issue can occur when the database name "database_name" already exists as a Data Source in MATLAB. To verify this, run the f...

8 months ago | 0

| accepted

Answered
How do I build my model containing a C-MEX S-function if I don't have the S-function C source file using Simulink Coder?
You can build the model even though you do not have the source file for the S-function. Please refer to the information below. T...

8 months ago | 0

| accepted

Answered
How to scale the output of the 'spectrogram' function to obtain matching amplitude of the original signal
The magnitudes do not match because of two reasons. First, the default window in spectrogram is a Hamming window of the specifie...

8 months ago | 0

| accepted

Answered
Why is the step-size in exported waveforms from Signal Integrity Viewer not fixed, and how to fix it?
The Signal Integrity Viewer is resampling the data, and I suspect that you're simply seeing numeric inaccuracies due to the very...

8 months ago | 0

| accepted

Answered
How can I log signals in the lower levels of my model from the top level in R2021a?
Signal logging can be turned on or off from the top-level model using the Signal Table for the top-level model. This is shown in...

8 months ago | 0

| accepted

Answered
Why do I see a jump/pulse in a bathtub plot in SerDes Designer?
In SerDes Designer, when a bathtub plot is created, both the Data bathtub and the Clock PDF are plotted. The left and right curv...

8 months ago | 0

| accepted

Answered
Why do I receive the error message: "Invalid size of channel dimension" when using the "trainnet" function in MATLAB R2024a?
This issue occurs when either the size of the "trainingData" or the size of the "validationData" does not match the number of fe...

8 months ago | 0

| accepted

Answered
Why do I get the error message 'Dot indexing is not supported for variables of this type.' when performing range analysis while generating fixed-point code in MATLAB R2025a?
The issue is happening because of use of a struct whose fields are not used for any computation. Fixed-Point Converter is lookin...

8 months ago | 0

| accepted

Question


Why do I get the error message 'Dot indexing is not supported for variables of this type.' when performing range analysis while generating fixed-point code in MATLAB R2025a?
When generating fixed-point code, when passing a struct with empty fields as an argument, performing range analysis on this argu...

8 months ago | 1 answer | 0

1

answer

Answered
How can I change the parameters of a Simulink model during simulation?
There are many ways to achieve it, depending on your use case: 1. Saving and restoring the simulation state as the 'SimState': T...

8 months ago | 0

| accepted

Answered
How to resolve the error “We’re sorry, something went wrong” when publishing a GitHub Release to File Exchange?
To resolve this:Connect using Default Branch firstPublish a new version and switch to GitHub Releases For more details on connec...

8 months ago | 0

| accepted

Question


How to resolve the error “We’re sorry, something went wrong” when publishing a GitHub Release to File Exchange?
I want to publish my project from GitHub to MATLAB File Exchange. When I select GitHub Releases as the connection option, I am r...

8 months ago | 1 answer | 0

1

answer

Answered
Why are the results different when I run a Simulink model containing Simscape blocks with a variable-step solver vs. when I run the same model but with some blocks compartmentalized in a subsystem?
This discrepancy in the results occurs due to creating a subsystem in a model with a "Variable-step" solver type setting wi...

8 months ago | 0

| accepted

Question


Why are the results different when I run a Simulink model containing Simscape blocks with a variable-step solver vs. when I run the same model but with some blocks compartmentalized in a subsystem?
I am running a Simulink model containing Simscape blocks, with a variable-step and automatic selection solver setting. Why do I ...

8 months ago | 1 answer | 0

1

answer

Answered
How to unload Java libraries in MATLAB R2024b?
It is possible to unload Java libraries in MATLAB, but only if they are the dynamic path. In order to be on the dynamic path, th...

8 months ago | 0

| accepted

Question


How to unload Java libraries in MATLAB R2024b?
I have a custom Java library in MATLAB R2024b, more specifically a JAR file, that lives in Git. Anytime I switch Git branches, t...

8 months ago | 1 answer | 0

1

answer

Answered
How do I include multiple C library headers with the same include guards in Simulink?
There are two ways to do this: 1) Encapsulate the C Function block in a model reference (see the screenshot below). This way one...

8 months ago | 0

| accepted

Answered
Can I include only specific MATLAB DLL files, like "MathWorks.MATLAB.Types.dll", in an external .NET application?
Only using specific MATLAB DLL files in an application without having MATLAB or MATLAB Runtime installed is not a supported work...

8 months ago | 0

| accepted

Answered
How do I Transmit to Multiple SPI Devices on the Same Module in Simulink on a C2000?
Each SPI Transmit block is only for use with one peripheral device. Not being able to change the chip select pin during use is i...

8 months ago | 0

| accepted

Answered
Why do I get "No Internet Connection" error when trying to run "demos" and "documentation" in MATLAB R2023a?
The "no internet connection" error that occurs when attempting to open external or internal windows for documentation and demos ...

8 months ago | 0

| accepted

Answered
Can I use the "help" function to display extensive function documentation in the R2025a MATLAB Command Window?
The update to the "help" function was introduced in R2024b, where the function now displays abbreviated help text in the Command...

8 months ago | 0

| accepted

Answered
How to ensure changes made by "Parameter Writer" block are retained after simulation in MATLAB R2024b?
The "Parameter Writer" block only modifies parameter values in memory during simulation. As a result, the actual values of the p...

8 months ago | 0

| accepted

Answered
Why are "Argument" parameters not exported in FMU 2.0 in MATLAB R2024b?
Some parameters may not be exported as FMU arguments if their value does not impact the simulation. This may happen if for examp...

8 months ago | 0

| accepted

Question


mwArray vs MATLAB Data API - Which API should I use when using MATLAB Compiler SDK?
When developing libraries with MATLAB Compiler SDK, I see most deployment targets generally have two paths for handling data exc...

8 months ago | 1 answer | 1

1

answer

Question


Embedded Coder が "memset" を使用してハードコード定数の代わりにするにはどうしますか?
Embedded Coder が "memset" を使用してハードコード定数の代わりにするにはどうしますか? 定数ブロックに 100e3 要素の配列があります。"Use memset to initialize floats and doubles to...

8 months ago | 1 answer | 0

1

answer

Load more