Statistics

MATLAB Answers

20,733 Questions
20,812 Answers

RANK
8
of 301,454

REPUTATION
25,065

CONTRIBUTIONS
20,733 Questions
20,812 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
13,132

RANK
 of 21,287

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 174,632

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

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...

21 hours 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...

21 hours ago | 1 answer | 0

1

answer

Answered
Why do I receive the error "Unable to find the 'CUDA_PATH' environment variable" when using the GPU Coder function "coder.checkGpuInstall"?
GPU Coder uses environment variables to locate the necessary tools, compilers, and libraries required for code generation. If yo...

21 hours ago | 0

| accepted

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...

21 hours ago | 1 answer | 0

1

answer

Answered
How to setup CUDA and cuDNN to resolve "Compatible GPU" errors from "coder.checkGpuInstall" in MATLAB 2023a?
The error related can be fixed by setting the CUDA environment properly. Since you set the environmental variable as  >...

21 hours ago | 0

| accepted

Question


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

21 hours 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 ...

21 hours 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...

21 hours 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.

21 hours ago | 0

| accepted

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...

2 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....

2 days ago | 16

| accepted

Answered
What is the "main.cu" file and how can I generate and include a custom one when generating code for an NVIDIA target?
The example "main.cu" and "main.h" files are generated as part of code generation but are not deployed and compiled by default. ...

2 days ago | 0

| 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...

2 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...

2 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...

2 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...

2 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...

2 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...

2 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...

2 days ago | 0

| accepted

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...

3 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.  You can link to an Online Tra...

3 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 ...

3 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...

3 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...

3 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.  The development team is aware of this limitation and will consi...

3 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. Simulink determines...

3 days ago | 0

| accepted

Answered
Why do I get "undefined reference" error when trying to generate code that references a C++ function?
Since the definition of the external function is defined in a C++ file, a C++ compiler will be used to build the object for that...

3 days ago | 0

| accepted

Answered
Why do I get "Access violation reading location 0xFFFFFFFFFFFFFFFF" error while running .NET application which uses .DLL generated by MATLAB Coder R2024a?
The best practice is to use the “emxArray” utility functions to handle pointers, memory, and general handling of arrays instead ...

3 days ago | 0

| accepted

Answered
How to use the Partial Differential Equation Toolbox for generating and plotting a 2-D plane geometric object in MATLAB, where the domain of interest is the interior of a simple closed curve?
You can use the MATLAB functions “fegeometry” and “pdegplot” for generating and plotting 2-D plane geometric objects using Parti...

3 days ago | 0

| accepted

Answered
How do I configure temperature-dependent parameters for the “Peltier Device” block in Simscape R2025a?
Unfortunately, the “Peltier Device” block does not have built-in functionality to configure parameters based on temperature. Our...

3 days ago | 0

| accepted

Load more