Answered
How can I prevent the toolbar that appears and disappears in the Model Explorer from moving the Model Hierarchy pane in MATLAB R2025b?
To prevent this from happening, you can alter how the Model Explorer toolbars are displayed. First, ensure that the main toolbar...

21 days ago | 0

| accepted

Question


How can I prevent the toolbar that appears and disappears in the Model Explorer from moving the Model Hierarchy pane in MATLAB R2025b?
Whenever I'm clicking around the tree in the Model Hierarchy pane, I notice that a toolbar appears and disappears based on the k...

21 days ago | 1 answer | 0

1

answer

Answered
How to add a header to a printed or published PDF from a MATLAB script in MATLAB R2025a?
Starting in MATLAB R2025a, MATLAB no longer supports adding headers when printing or publishing scripts directly to PDF. As a re...

21 days ago | 0

| accepted

Answered
How do I change the Java Virtual Machine (JVM) that MATLAB is using for Linux?
By default, Linux versions of MATLAB ship with the Oracle® version 8 Java Virtual Machine™ (JVM). However, you have the option t...

21 days ago | 0

| accepted

Answered
How do I change the Java Virtual Machine (JVM) that MATLAB is using on Windows?
By default, Windows versions of MATLAB ship with the Oracle® version 8 Java Virtual Machine™ (JVM). However, you have the option...

21 days ago | 14

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

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

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

21 days ago | 0

| accepted

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

21 days ago | 0

| accepted

Question


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

21 days ago | 1 answer | 0

1

answer

Answered
How to connect the scenarios for Test Sequence and Test Assessment blocks for a Simulink Model using Simulink Test in MATLAB R2023a?
Each block has an "Active_Scenario_Index" that you can control to activate scenarios defined in each block. Double click on both...

24 days ago | 1

| accepted

Answered
How do I create a protected model with hidden variables with a mask that provides additional variables?
Before we begin, it should be noted that the protected model must be a referenced model. It cannot be a subsystem. If it is a su...

24 days ago | 1

| accepted

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

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

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

24 days ago | 0

| accepted

Question


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

24 days ago | 1 answer | 0

1

answer

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

24 days ago | 1 answer | 0

1

answer

Answered
Why do I get warnings in task 1.2 and an error in task 1.3 of HDL Workflow Advisor when trying to run the "DAC and ADC Loopback Data Capture" example in MATLAB R2024a?
These warnings and errors are occurring due to mismatches between the reference design and the Simulink model. As shown on the D...

25 days ago | 0

| accepted

Question


Why do I get warnings in task 1.2 and an error in task 1.3 of HDL Workflow Advisor when trying to run the "DAC and ADC Loopback Data Capture" example in MATLAB R2024a?
I am trying to go through the DAC and ADC Loopback Data Capture example in MATLAB R2024a, but I am running into some issues. The...

25 days ago | 1 answer | 0

1

answer

Answered
How is the initial condition input used in a "Delay" block where the delay is set by an input port in Simulink R2023b?
When the delay is set using an input port, the "Delay" block expects the initial condition input to be a vector of size 1xN, whe...

25 days ago | 0

| accepted

Question


How is the initial condition input used in a "Delay" block where the delay is set by an input port in Simulink R2023b?
I'm trying to use a "Delay" block in Simulink R2023b, where the delay is set by an input port. I would also like to set the init...

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

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

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

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

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

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

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

Load more