Statistics

MATLAB Answers

20,746 Questions
20,825 Answers

RANK
8
of 301,493

REPUTATION
25,078

CONTRIBUTIONS
20,746 Questions
20,825 Answers

ANSWER ACCEPTANCE
100.0%

VOTES RECEIVED
13,135

RANK
 of 21,300

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 174,813

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
Why am I getting "Inf computed by model function, fitting cannot continue" error in "fit" function from the Curve Fitting Toolbox in MATLAB R2022b?
Regarding the "Inf computed by model function, fitting cannot continue" error message, this is likely expected depending on the ...

21 hours ago | 0

| accepted

Question


Why am I getting "Inf computed by model function, fitting cannot continue" error in "fit" function from the Curve Fitting Toolbox in MATLAB R2022b?
I am using MATLAB R2022b and the Curve Fitting Tool (“cftool”) to fit curves to a large dataset (16,000 points) that I load from...

21 hours ago | 1 answer | 0

1

answer

Answered
How can I include dependencies from Project References when I package my MATLAB Project as a Toolbox in MATLAB R2025b?
MATLAB R2025b does not currently support the automatic inclusion of dependencies from referenced projects when you package your ...

21 hours ago | 0

| accepted

Question


How can I include dependencies from Project References when I package my MATLAB Project as a Toolbox in MATLAB R2025b?
I am working on a MATLAB Project (ie. with a .PRJ file) in MATLAB R2025b called mainProject. I have another MATLAB Project calle...

21 hours ago | 1 answer | 0

1

answer

Answered
How do I enroll an attendee in a training?
You can enroll and purchase MathWorks Training Classes for other users directly through the MathWorks Webstore. Go to www.m...

21 hours ago | 0

| accepted

Answered
How to export a Simulink model to FMU for Linux platform on Windows?
Starting from MATLAB R2024a Update 1, MATLAB offers a direct way for Windows users to export a model as standalone co-simulation...

21 hours ago | 0

| accepted

Answered
Why do I get warnings and errors about an "uninitialized dlnetwork" when importing an Deep Learning network from a third-party framework (ONNX, TensorFlow, PyTorch, etc.) into MATLAB, or exporting it to Simulink?
When importing a pretrained network from a third-party framework that results in an uninitialized network, you need to initializ...

21 hours ago | 0

| accepted

Answered
Why do I receive "MathWorksServiceHost.exe - Bad Image" when trying to start MATLAB?
This issue is likely caused by a corruption with your MathWorks Service Host installation. Usually this is caused by antivirus o...

2 days ago | 0

| accepted

Question


Why do I receive "MathWorksServiceHost.exe - Bad Image" when trying to start MATLAB?
The following error message appears on startup: MathWorksServiceHost.exe - Bad Image <a dll> is either not designed to run...

2 days ago | 1 answer | 0

1

answer

Answered
How should I handle streaming inputs and outputs for my Simulink Compiler model (TCP/UDP, visualization, disp, S-function, C Caller, etc.)?
In order to run with Simulink Compiler, the model must be able to run in Rapid Accelerator mode. Some special I/O blocks do not ...

2 days ago | 0

| accepted

Answered
モデル アドバイザーのSimulink Design Verifier チェックにおいて、「Look under masks」および「Follow links」パラメーターを変更することはできますか?
ドキュメント内で使用されている「既定(default)」という表現は、「ユーザーが変更可能な初期値」を意味するものではなく、「事前に設定された固定値」を指しております。 Simulink Design Verifier チェック を モデル アドバイザー ...

2 days ago | 0

| accepted

Question


モデル アドバイザーのSimulink Design Verifier チェックにおいて、「Look under masks」および「Follow links」パラメーターを変更することはできますか?
Simulink Design Verifier チェックを使用しています。 Simulink Design Verifier チェックのドキュメントでは、「マスク内を表示(Look under masks)」および「リンクに従う(Follow links...

2 days ago | 1 answer | 0

1

answer

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

5 days ago | 0

| accepted

Question


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

5 days ago | 1 answer | 0

1

answer

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

5 days ago | 0

| accepted

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

5 days ago | 0

| accepted

Question


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

5 days ago | 1 answer | 0

1

answer

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

5 days ago | 0

| accepted

Question


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

5 days ago | 1 answer | 0

1

answer

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

6 days ago | 0

| accepted

Question


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

6 days ago | 1 answer | 0

1

answer

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

6 days ago | 0

| accepted

Question


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

6 days ago | 1 answer | 0

1

answer

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

6 days ago | 0

| accepted

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

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

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

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

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

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

7 days ago | 1 answer | 0

1

answer

Load more