Answered
Why does "coder.checkGpuInstall" fail with an error "emlc:compilationError" on the "Test Basic Code Generation" step?
This error may be indicative of an incompatible compiler. You can check which C++ compiler is being used by executing:  &g...

26 days ago | 0

| accepted

Question


Why does "coder.checkGpuInstall" fail with an error "emlc:compilationError" on the "Test Basic Code Generation" step?
After installing GPU Coder, I ran the "coder.checkGpuInstall" function. This function returned: >> coder.checkGpuInstall...

26 days ago | 1 answer | 0

1

answer

Answered
How to fix the error "cc1plus: fatal error: cuda_runtime.h: No such file or directory" when running the Basic Code Generation test for GPU Coder R2021a?
This error can appear if "[matlabroot]/sys/cuda/glnxa64/cuda/include/cuda_runtime.h" is not present in the installation, which m...

26 days ago | 0

| accepted

Question


How to fix the error "cc1plus: fatal error: cuda_runtime.h: No such file or directory" when running the Basic Code Generation test for GPU Coder R2021a?
I am trying to set up GPU code generation. When I run:  >> results = coder.checkGpuInstall('full') The following err...

26 days ago | 1 answer | 0

1

answer

Question


Why do I receive the error "Unable to find the 'CUDA_PATH' environment variable" when using the GPU Coder function "coder.checkGpuInstall"?
I followed all instructions in the following documentation pages in order. 1. Installing Prerequisite Products 2. Setting Up the...

26 days ago | 1 answer | 0

1

answer

Question


How to set up CUDA and cuDNN to resolve "Compatible GPU" errors when using "coder.checkGpuInstall" in MATLAB R2023a?
I am trying to generate code with GPU Coder R2023a. I am using an NVIDIA RTX 3080TI graphics card with NVIDIA Driver Version v52...

26 days ago | 1 answer | 0

1

answer

Answered
How do I activate MATLAB or other MathWorks products without an internet connection?
To activate MATLAB and/or other MathWorks products on an offline machine, you must:Obtain your Host ID(Individual licenses ...

26 days ago | 12

| accepted

Answered
Why do I get the error "This driver has been blocked from loading" when trying to install the Simulink Desktop Real-Time kernel?
This is a known issue that occurs when working on a machine that does not have a native x86 CPU. Examples of such configurations...

26 days ago | 0

| accepted

Answered
Does the Vehicle Network Toolbox currently support PCAN-Developer API where I can have Simulink act as a Client connected to a Net without any hardware?
Unfortunately, we currently do not support PCAN-Developer API for PEAK devices with the Vehicle Network Toolbox.

26 days ago | 0

| accepted

Answered
How can I export a matrix as a CSV file?
"csvwrite" is not recommended. Use "writematrix" to export matrix data as a CSV file instead. When writing matrix data to a file...

27 days ago | 19

| accepted

Answered
Why do I get error "Unable to find 'nvcc' on system path" when trying to setup NVIDIA hardware with GPU Coder?
The root cause for both errors is the same: nvcc is not on the hardware system path; adding nvcc to the system path should resol...

27 days ago | 0

| accepted

Question


Why do I get error "Unable to find 'nvcc' on system path" when trying to setup NVIDIA hardware with GPU Coder?
I have an NVIDIA Jetson AGX Xavier hardware board to be connected to the host machine and to deploy code from MATLAB using GPU C...

27 days ago | 1 answer | 0

1

answer

Answered
How do I request physical media?
The fastest way to download your products is in the License Center. In order to create an ISO please see the following link: How...

27 days ago | 0

| accepted

Answered
How do I uninstall a toolbox without uninstalling MATLAB?
Toolboxes can be uninstalled primarily from the Add-On Manager, or with the MathWorks Product Uninstaller for previous releases....

27 days ago | 16

| accepted

Question


What is the "main.cu" file and how can I generate and include a custom one when generating code for an NVIDIA target?
I am trying to deploy my network model on a NVIDIA hardware using GPU Coder. I am following the "Deployment and Classificat...

27 days ago | 1 answer | 0

1

answer

Answered
Why does my GPU set-up error with 'emlc:compilationError'?
The host and Jetson are two different environments. In this workflow, code generation is performed on the host, and the resultin...

27 days ago | 0

| accepted

Answered
Why do I get a connection error when installing or activating MATLAB or other MathWorks products?
Computer or network security software is preventing the MathWorks Installer and/or Activation Client from connecting to the...

27 days ago | 49

| accepted

Answered
mwArray vs MATLAB Data API - Which API should I use when using MATLAB Compiler SDK?
For new development—especially if you want the best performance —we strongly recommend using MDA and particularly its strongly-t...

27 days ago | 0

| accepted

Answered
How can I upgrade deployed code (CTFs) on MATLAB Production Server to a new update or release?
A deployed CTF needs to run on the same release that was used to compile it. As a result, in order to upgrade a CTF to a differe...

27 days ago | 0

| accepted

Question


How can I upgrade deployed code (CTFs) on MATLAB Production Server to a new update or release?
I have several CTFs deployed to MATLAB Production Server, all created using the same MATLAB release. I would like to use a new f...

27 days ago | 1 answer | 0

1

answer

Answered
Why am I receiving "XCP internal error: Invalid length for protocol frame" when using external mode?
One possible cause for this error is exceeding the available bandwidth of the XCP connection. There are a few ways to work aroun...

27 days ago | 0

| accepted

Answered
How to resolve the error 'declaration is incompatible with "<variable declaration>"' when generating code with Embedded Coder R2025b?
The error occurs because a user-written variable declaration conflicts with one automatically generated by Embedded Coder R2025b...

28 days ago | 0

| accepted

Question


How to resolve the error 'declaration is incompatible with "<variable declaration>"' when generating code with Embedded Coder R2025b?
I am generating code from my Simulink model using Embedded Coder in R2025b. I have included a manual variable declaration in the...

28 days ago | 1 answer | 0

1

answer

Answered
Why do I receive License Manager Error 4402 when launching MATLAB using a Login Named User license?
"License Manager Error 4402" may indicate that the product attempting to be licensed via Login Named User is not available on th...

28 days ago | 0

| accepted

Answered
How do I access my Online Training Suite?
To access the Online Training Suite, you must be linked to an Online Training Suite License.&nbsp; You can link to an Online Tra...

28 days ago | 0

| accepted

Answered
Why am I getting a "Firmware Build Failed" error while building the UAV Toolbox Support Package for PX4 Autopilots
The cause of the build failed error is most likely a permission issue. Launch MATLAB R2022b with "Run in Administrator" and try ...

28 days ago | 0

| accepted

Answered
How to stop a "timer" inside a handle "class" when the handle is cleared in MATLAB?
"clear" does not delete handle objects. It deletes their references. When the reference count to a handle object drops to 0 (i.e...

28 days ago | 0

| accepted

Answered
Why am I getting the error "found unsupported dynamic matrix type" in HDL Coder R2024b?
Output variables for a function ("DUT") generated using HDL Coder must have a pre-defined size. The following workaround may hel...

28 days ago | 0

| accepted

Answered
Can I optimize buffer usage in generated code for input and output arguments of a subsystem with Embedded Coder R2024a?
As of MATLAB R2024b, this is not possible for a subsystem.&nbsp; The development team is aware of this limitation and will consi...

28 days ago | 0

| accepted

Answered
Why does converting my model into a masked subsystem result in an error indicating a mismatch between the inferred signal size and the size determined by back propagation in MATLAB R2022a?
The issue stems from how Simulink determines signal dimensions within subsystems and masked subsystems.&nbsp;Simulink determines...

28 days ago | 0

| accepted

Load more