统计学

MATLAB Answers

20,741 个提问
20,820 个回答

排名
8
of 301,478

声誉
25,074

贡献数
20,741 个提问
20,820 个回答

回答接受率
100.0%

收到投票数
13,134

排名
 of 21,296

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 174,719

贡献数
0 个问题
0 个答案

评分
0

徽章数量
0

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

Feeds

排序方式:

已回答
How can I generate CPU-optimized code for some functions when GPU Coder is used for code generation?
To extract maximum performance for a project where some functions run faster on the GPU and some functions run faster on the CPU...

2 days 前 | 0

| 已接受

提问


How can I generate CPU-optimized code for some functions when GPU Coder is used for code generation?
I have two MATLAB functions that I would like to generate code for, "cpu_fun" and "gpu_fun". "cpu_fun" has maximum performance w...

2 days 前 | 1 个回答 | 0

1

个回答

已回答
How can I customize the typedefs generated in "rtwtypes.h" using Embedded Coder R2025b?
In Embedded Coder R2025b, the generated header file "rtwtypes.h" defines the mapping between Simulink data types and primitive ...

2 days 前 | 0

| 已接受

已回答
Simulink Notes(モデルのメモ)が定義されているモデルの階層のみをレポートする方法は?
slreportgen.utils.hasUniqueModelNotes とslreportgen.report.Notesクラスを組み合わせることで実現できます。 以下のサンプルコードを参考にしてください。 import mlreportgen.re...

2 days 前 | 0

| 已接受

提问


Simulink Notes(モデルのメモ)が定義されているモデルの階層のみをレポートする方法は?
Simulink Report Generatorを使って、Simulink Notes が定義されているモデルやサブシステム階層のみを含むレポートを作成したいです。どうすればよいですか? 

2 days 前 | 1 个回答 | 0

1

个回答

已回答
How can I generate a Simulink report that includes only hierarchies containing Notes?
You can achieve this by combining the slreportgen.utils.hasUniqueModelNotes with the slreportgen.report.Notes class. Please refe...

2 days 前 | 0

| 已接受

提问


How can I generate a Simulink report that includes only hierarchies containing Notes?
I want to use Simulink Report Generator to create a report that only includes those model or subsystem hierarchies where Simulin...

2 days 前 | 1 个回答 | 0

1

个回答

已回答
Why does the "CIRA-86 Atmosphere Model" block produce unexpected pressure results in MATLAB R2025a?
The result you are observing is due to limitations with the CIRA-86 model. As described near the bottom of the "Limitations" sec...

3 days 前 | 0

| 已接受

提问


Why does the "CIRA-86 Atmosphere Model" block produce unexpected pressure results in MATLAB R2025a?
I am using the "CIRA-86 Atmosphere Model" block from Aerospace Blockset in MATLAB R2025a, but I am getting unexpected results. A...

3 days 前 | 1 个回答 | 0

1

个回答

已回答
Why do I get a "Not enough input arguments" error with no other information when trying to run a test in the Test Manager in MATLAB R2024b?
One possibility is that you have the "Initial State" box checked in the Test Browser "System Under Test>Simulation Settings a...

3 days 前 | 0

| 已接受

提问


Why do I get a "Not enough input arguments" error with no other information when trying to run a test in the Test Manager in MATLAB R2024b?
I'm trying to use the Test Manger to run tests on my model in MATLAB R2024b, but every time I try to run one of my test cases, i...

3 days 前 | 1 个回答 | 0

1

个回答

已回答
How to set up CUDA and cuDNN to resolve "Compatible GPU" errors when using "coder.checkGpuInstall" in MATLAB R2023a?
The error is caused by an incorrect configuration of the CUDA environment. The “LD_LIBRARY_PATH” environmental variable was set ...

3 days 前 | 0

| 已接受

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

4 days 前 | 0

| 已接受

提问


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

4 days 前 | 1 个回答 | 0

1

个回答

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

4 days 前 | 0

| 已接受

提问


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

4 days 前 | 1 个回答 | 0

1

个回答

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

4 days 前 | 0

| 已接受

提问


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

4 days 前 | 1 个回答 | 0

1

个回答

提问


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

4 days 前 | 1 个回答 | 0

1

个回答

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

4 days 前 | 12

| 已接受

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

4 days 前 | 0

| 已接受

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

4 days 前 | 0

| 已接受

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

5 days 前 | 0

| 已接受

提问


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

5 days 前 | 1 个回答 | 0

1

个回答

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

5 days 前 | 0

| 已接受

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

5 days 前 | 16

| 已接受

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

5 days 前 | 0

| 已接受

提问


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

5 days 前 | 1 个回答 | 0

1

个回答

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

5 days 前 | 0

| 已接受

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

5 days 前 | 49

| 已接受

加载更多