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

2 months ago | 0

| accepted

Question


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

2 months ago | 1 answer | 0

1

answer

Answered
Update-PROD-Restart
Fake text 1234&^%^&*()

2 months ago | 0

| accepted

Question


Update-PROD-Restart
Generated question?

2 months ago | 1 answer | 0

1

answer

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

2 months ago | 1

| accepted

Question


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

2 months ago | 1 answer | 0

1

answer

Question


Can I run MATLAB in Docker container on macOS with an Apple Silicon (ARM) processor?
I have a Mac with an Apple Silicon (M‑series) processor running macOS, and I use Docker on this machine. Can I run MATLAB inside...

2 months ago | 1 answer | 0

1

answer

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

2 months ago | 0

| accepted

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

2 months ago | 0

| accepted

Question


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

2 months ago | 1 answer | 0

1

answer

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

2 months ago | 0

| accepted

Question


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

2 months ago | 1 answer | 0

1

answer

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

2 months ago | 0

| accepted

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

2 months ago | 1

| accepted

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

2 months ago | 206

| accepted

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

2 months ago | 0

| accepted

Question


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

2 months ago | 1 answer | 0

1

answer

Answered
MATLAB Drive アカウントのサインイン履歴を見るにはどうすればよいですか?
MathWorks では、MATLAB Drive に関するデバイス履歴や最終同期日時について、個々のユーザー単位でのレポート提供は行っておりません。 MATLAB Driveのサインイン履歴についてご不明な点がございましたら、MathWorks サポート...

2 months ago | 0

| accepted

Question


MATLAB Drive アカウントのサインイン履歴を見るにはどうすればよいですか?
MATLAB Drive アカウントのサインイン履歴を確認し、いつ、どこからアクセスされたかを確認したいと考えています。この情報はどのように確認できますか?

2 months ago | 1 answer | 0

1

answer

Answered
なぜ永久版の MATLAB Student / Home License の更新やアドオン製品の購入はできないのですか?
2026年1月1日より、従来提供していた永久版の Student License および Home License は廃止され、年間サブスクリプション型の MATLAB and Simulink Student Suite および MATLAB and ...

2 months ago | 0

| accepted

Answered
How do I restore Speedgoat I/O Blockset after resetting my MATLAB path?
You can restore the Speedgoat I/O Blockset installation by doing the following: 1) Navigate to the Speedgoat Blockset installati...

2 months ago | 0

| accepted

Answered
How do I locate the crash dump files generated by MATLAB?
For all releases: When MATLAB crashes, up to three log files may be generated with the following names: matlab_crash_dump.1234 ...

2 months ago | 12

| accepted

Answered
Why am I receiving errors when reading and writing to an instrument with Instrument Control Toolbox R2024b?
Please note that the "fscanf" and "fprintf" methods of reading and writing to an instrument are being deprecated. Please see the...

2 months ago | 0

| accepted

Question


Why am I receiving errors when reading and writing to an instrument with Instrument Control Toolbox R2024b?
I am connecting to my Windows 11 based Keysight oscilloscope and source via "visadev." I intermittently receive the following tw...

2 months ago | 1 answer | 0

1

answer

Answered
Why do I receive "empty value" errors when optimizing with parallel computing in Antenna Designer R2025a?
This error occurs when parallel workers attempt to access a value than has not been initialized yet. The high computational load...

2 months ago | 0

| accepted

Question


Why do I receive "empty value" errors when optimizing with parallel computing in Antenna Designer R2025a?
I want to optimize my antenna using the "Optimize" function in Antenna Designer R2025a. My selected optimizer is "SADEA" and my ...

2 months ago | 1 answer | 0

1

answer

Answered
Why does my "Asynchronous Machine" block cause unreasonable measurements in later blocks in Simscape Electrical R2025a?
The unreasonable values produced by the measurement block is the result of running a model with "Asynchronous Machine" in discre...

2 months ago | 0

| accepted

Question


Why does my "Asynchronous Machine" block cause unreasonable measurements in later blocks in Simscape Electrical R2025a?
I want to run a discrete simulation with an "Asynchronous Machine" from the Simscape R2025a Specialized Power Systems library. H...

2 months ago | 1 answer | 0

1

answer

Answered
Why does MATLAB R2016b crash with no dialog after loading a custom DLL with "loadlibrary"?
This is expected behavior.&nbsp;MATLAB cannot guarantee a crash dialog or crash dumps when the crash originates from a third-par...

2 months ago | 0

| accepted

Question


Why does MATLAB R2016b crash with no dialog after loading a custom DLL with "loadlibrary"?
I am using the function "loadlibrary" to load a DLL compiled from custom C code into MATLAB R2016b. When I call a function from ...

2 months ago | 1 answer | 0

1

answer

Load more