统计学

MATLAB Answers

20,681 个提问
20,759 个回答

排名
8
of 301,338

声誉
25,033

贡献数
20,681 个提问
20,759 个回答

回答接受率
100.0%

收到投票数
13,111

排名
 of 21,236

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 174,017

贡献数
0 个问题
0 个答案

评分
0

徽章数量
0

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

Feeds

排序方式:

已回答
How can I use Visual Studio Code for debugging MATLAB MEX-files or Simulink S-Functions compiled with MingW64 on Windows or GCC/G++ on Linux?
Yes, you can use Visual Studio Code for debugging MinGW64 and GCC MEX-files. See How can I use Visual Studio Code to debug my Mi...

1 day 前 | 1

| 已接受

已回答
How can I use Visual Studio Code to debug my MinGW C/C++ file?
The GDB debugger that comes with the MinGW64 compiler can be used to debug your MEX code with Visual Studio Code (VS Code). The ...

1 day 前 | 0

| 已接受

提问


How can I use Visual Studio Code to debug my MinGW C/C++ file?
I have a C/C++ MEX file compiled by the MinGW64 compiler with the -g flag. How can I debug my MEX through Visual Studio Code?

1 day 前 | 1 个回答 | 0

1

个回答

已回答
Why does my Simulink Real-Time build fail due to missing QNX libraries in R2020b through R2025b?
This issue is likely related to a corrupt installation of the "Simulink Real-Time Target Support Package". Try to refresh the "S...

1 day 前 | 0

| 已接受

已回答
How can I improve the live streaming performance of Simulation Data Inspector (SDI) or Dashboard blocks when using Simulink Real-Time and Speedgoat?
Here are some recommended steps to improve live streaming performance with Simulink Real-Time (SLRT) and Speedgoat hardware: 1....

2 days 前 | 1

| 已接受

已回答
Why can't I renew or purchase Add-Ons for my Perpetual Home or Student Version License?
As of January 1, 2026, Perpetual Student and Home offerings have been sunset and replaced with new Annual Subscription Student a...

2 days 前 | 0

| 已接受

已回答
How do I install MATLAB R2008a to R2017a?
Installing MATLAB R2008a to R2017a is supported using offline workflows only. This article summarizes the recommended process fo...

2 days 前 | 0

| 已接受

已回答
File Logging Basics: How can I perform intermittent data logging on Speedgoat to generate multiple log files and SDI runs?
For MATLAB R2022b and later: Starting in R2022b, you can create multiple log files on your target machine using either:The ...

2 days 前 | 0

| 已接受

已回答
How can I debug an issue with the Polyspace Report Generator?
You can use the Polyspace Report Generator log‑collection utility (provided as a Perl script in the attachment) to automaticall...

2 days 前 | 0

| 已接受

提问


How can I debug an issue with the Polyspace Report Generator?
When experiencing an issue with the Polyspace Report Generator, how do I generate logs or reports that I can send to MathWorks S...

2 days 前 | 1 个回答 | 0

1

个回答

已回答
How can I link a requirement in the Requirements Editor to another requirement?
This is possible as well. In Link_Requirement_with_Requirement.gif, it is demonstrated how. The model from this example was used...

2 days 前 | 0

| 已接受

提问


How can I link a requirement in the Requirements Editor to another requirement?
I would like to know if there is any possibility of creating traces between 2 requirements in the requirements editor.

2 days 前 | 2 个回答 | 0

2

个回答

已回答
How can I prevent variant‑disabled ports from appearing as "UNUSED_PARAMETER" arguments in generated code when using an explicit Step function prototype configuration?
This behavior occurs because the function interface has been explicitly defined in the Code Generation interface. When the optio...

3 days 前 | 0

| 已接受

提问


How can I prevent variant‑disabled ports from appearing as "UNUSED_PARAMETER" arguments in generated code when using an explicit Step function prototype configuration?
When generating embedded code from a Simulink model in Embedded Coder R2022b that uses "Variant Source" and "Variant Sink" block...

3 days 前 | 1 个回答 | 0

1

个回答

已回答
Update-PROD-Restart
Fake text 1234&^%^&*()

3 days 前 | 0

| 已接受

提问


Update-PROD-Restart
Generated question?

3 days 前 | 1 个回答 | 0

1

个回答

已回答
How can I recover the password for my MathWorks Account?
If you are unable to retrieve your password or if your MathWorks Account has been locked, you can reset the password by using th...

3 days 前 | 0

| 已接受

已回答
MATLAB Coder generated MEX file throws an error that "Index exceeds matrix dimensions" although the code runs in MATLAB without error
This is fundamental difference between MATLAB execution and code generation. Code generation does not support increasing th...

3 days 前 | 1

| 已接受

提问


MATLAB Coder generated MEX file throws an error that "Index exceeds matrix dimensions" although the code runs in MATLAB without error
I'm trying to use MATLAB Coder to generate C/C++ code for my MATLAB code. However, when I try to execute the MEX file generated ...

3 days 前 | 1 个回答 | 0

1

个回答

已回答
R2025a 以降の MATLAB で Java を有効にするにはどうすればよいですか?
MATLAB は R2025a 以降、従来の Java ベースのグラフィカルユーザーインターフェースを廃止し、JavaScript および HTML を用いた仕組みに移行しました。そのため、起動時に Java は自動的には読み込まれなくなっています。 イン...

4 days 前 | 0

| 已接受

已回答
Why do I receive a "Previously accessible file <filename> is now inaccessible." error in MATLAB R2024b?
This issue occurs in MATLAB R2024b when too many file objects are open at the same time in your code. MATLAB has a limit on the ...

4 days 前 | 0

| 已接受

提问


Why do I receive a "Previously accessible file <filename> is now inaccessible." error in MATLAB R2024b?
I am using MATLAB R2024b on Windows 11, and my workflow involves opening and closing multiple file objects in my code. However, ...

4 days 前 | 1 个回答 | 0

1

个回答

已回答
Can I access internal flash memory using Embedded Coder?
We do not support any block that directly allows users to write/read to/from the internal flash memory. To do this, you must use...

4 days 前 | 0

| 已接受

提问


Can I access internal flash memory using Embedded Coder?
I am working on a project where I use Embedded Coder to deploy to a microcontroller.&nbsp; I would like to store data in the mic...

4 days 前 | 1 个回答 | 0

1

个回答

已回答
Can lingering testhost.exe processes be prevented after C# unit tests using a MATLAB .NET library?
The persistence of the "testhost.exe" process after test completion likely indicates that the MATLAB Runtime environment, which ...

4 days 前 | 0

| 已接受

已回答
How can I enable Java in MATLAB R2025a and newer?
Since MATLAB's own graphical user interface is no longer Java-based starting in R2025a, but instead utilizes JavaScript and HTML...

5 days 前 | 1

| 已接受

已回答
Why will MATLAB not start up properly on my Windows based system?
If MATLAB is not launching properly, and you are not receiving any License Manager Errors, then you may be experiencing one of t...

5 days 前 | 206

| 已接受

已回答
How can I install the "Simulink Real-Time Target Support Package" and "Speedgoat I/O Blockset" in a Docker container?
To build a custom MATLAB Docker container, we typically recommend using the&nbsp;MATLAB Package Manager (mpm). However, installi...

5 days 前 | 2

| 已接受

已回答
Are there workaround to avoid "Cannot compute a stabilizing LQR gain" error?
The error message does not indicate a theoretical inconsistency; it is caused by numerical instability. When parameters such as ...

5 days 前 | 0

| 已接受

提问


Are there workaround to avoid "Cannot compute a stabilizing LQR gain" error?
I came across an error when I executed LQR command. ​ A = 5000; B = 1e-6; Q = 1e+4; R = 1; [F,P,~] = lqr(A,B,Q,R); Error using...

5 days 前 | 1 个回答 | 0

1

个回答

加载更多