Question


What is the proper way to clean up internal timers when deleting a MATLAB class object?
When using a custom class (for example, "MyClass") in MATLAB that creates and starts a timer object internally, what is the corr...

24 days ago | 2 answers | 0

2

answers

Answered
How to view and edit two different files side by side in MATLAB R2025a and later?
As of MATLAB R2025a, the Editor “Split Left/Right” and “Split Up/Down” options are designed to show two views of the same docume...

24 days ago | 0

| accepted

Question


How to view and edit two different files side by side in MATLAB R2025a and later?
I am using MATLAB R2025a and want to display two different files side by side in the Editor so that I can edit both simultaneous...

24 days ago | 1 answer | 0

1

answer

Answered
Why do I receive a connection error when launching MATLAB with Login Named User enabled?
A connection error when launching MATLAB using Login Named User indicates that MATLAB is being prevented from reaching MathWorks...

24 days ago | 0

| accepted

Answered
Linux または UNIX 上で MATLAB が正常に起動しない場合、どのように解決しますか?
Linux マシンで MATLAB の起動に問題があり、ライセンス マネージャー関連のエラーが発生していない場合、以下の方解決策についてご確認ください。 1: 基本設定の再生成 2: 作業ディレクトリの移動 3: SELinux、AppArmor またはそ...

24 days ago | 0

| accepted

Answered
How to resolve the error "Supported compiler not detected" when running "mex -setup", although I have Visual Studio installed?
To troubleshoot the issue further, please try the following: 1. Check MATLAB & Visual Studio Compatibility Verify that your...

24 days ago | 0

| accepted

Answered
Can I remove MATLAB DMR files from the temp directory?
Yes, any DMR files in the temporary directory can be safely deleted while MATLAB is closed. DMR files, or "Data Model Repository...

24 days ago | 0

| accepted

Answered
How can I set an expiration or override date for my license file?
This is no longer a feature, and has been removed. Customer cannot set this anymore.  License administrators can manually ...

24 days ago | 0

| accepted

Answered
How do I license my Docker container using a Campus-Wide or Startup Individual license?
Please note this will only work with containers running R2023b or newer. This workflow should work with any of our MATLAB D...

24 days ago | 1

| accepted

Answered
Why does the Current Limiter block not limit the current in my circuit with a Controlled Current Source?
The Controlled Current Source represents an ideal current source that is powerful enough to maintain the specified current throu...

24 days ago | 0

| accepted

Question


Why does the Current Limiter block not limit the current in my circuit with a Controlled Current Source?
I have built up a circuit with a constant voltage source and a controlled current source that represents the load. Here is a sim...

24 days ago | 1 answer | 0

1

answer

Answered
How can I generate events in a component created with MATLAB Builder for Excel?
The ability to generate events in a component created with MATLAB Builder for Excel is not available. To work around this issue...

25 days ago | 0

| accepted

Answered
Why is MATLAB unable to find the Microsoft Visual C++ compiler due to missing registry entries?
For Visual Studio 2017, 2015, 2013, and 2012, MATLAB uses Windows registry entries to locate the Visual Studio installation dire...

25 days ago | 0

| accepted

Answered
Why is MATLAB unable to find the Microsoft Visual C++ 2017 compiler after installing Microsoft Visual Studio 2017?
This issue is likely caused by having installed Microsoft Visual Studio 2017 without the required "Desktop development with C++"...

25 days ago | 0

| accepted

Answered
Why is MATLAB unable to find the Microsoft Visual C++ 2015 compiler after installing Microsoft Visual Studio 2015?
This is likely caused by having installed Microsoft Visual Studio 2015 using the "Typical" setup option, which will not install ...

25 days ago | 11

| accepted

Question


Why is MATLAB unable to find the Microsoft Visual C++ compiler due to missing registry entries?
I installed Microsoft Visual Studio 2017 Professional, however "mex -setup" still does not successfully find the Microsoft Visua...

25 days ago | 1 answer | 0

1

answer

Answered
How do I install Visual Studio for use with MATLAB/Simulink?
Make sure that you install the correct version of Visual Studio that is compatible with your MATLAB release: Visual Studio Versi...

25 days ago | 15

| accepted

Answered
Why do “ceil” and “floor” sometimes return unexpected results when used on calculations compared to integer values in MATLAB?
The reason why “ceil((8*0.8+2)/(1-0.8))” produces a different output than either “ceil(42)” or “ceil(42.0000)” is due to the way...

25 days ago | 0

| accepted

Answered
How do I install Microsoft Visual C++ 2010 and Microsoft Windows SDK 7.1?
Here are the specific steps needed to install both Microsoft Visual C++ 2010 Express and Microsoft Windows SDK 7.1 on Windows 7....

25 days ago | 4

| accepted

Answered
File Logging Basics: What is the difference between using the Start/Stop Recording API, an Enable File Log block, or Enabled Subsystems to control file logging?
1. Start/Stop Recording API Starting in R2022b, the Start/Stop Recording API enables you to control all instrumentation in your ...

25 days ago | 0

| accepted

Answered
Why does the interpolation not work correctly when setting capacity factor parametrization of torque converter block to "Ratio of impeller torque to square of speed"?
This is the expected behavior. The block interpolates as intended. The block uses the tablelookup function. When Ratio...

25 days ago | 0

| accepted

Question


Why does the interpolation not work correctly when setting capacity factor parametrization of torque converter block to "Ratio of impeller torque to square of speed"?
I am testing the torque converter block and have built a test bench to verify its behavior. I have noticed that when specifying ...

25 days ago | 1 answer | 0

1

answer

Answered
Why does MATLAB R2024a show “repository path *** is not owned by current user” when verifying a remote repository?
Yes this workflow worked in 21a because safe directory checks didn't exist in Git then. Can they try disabling the safe director...

26 days ago | 0

| accepted

Answered
なぜMATLAB R2024aでは、リモートリポジトリの検証時に「リポジトリパス***は現在のユーザーの所有物ではない」と表示されるのでしょうか?
MATLAB R2021aで問題が発生しなかったのは、その当時Gitに "safe.directory" チェックが存在しなかったためです。次の対応をお試しください。 safe.directoryチェックを無効化する方法: git config --gl...

26 days ago | 0

| accepted

Answered
Why does the "blfread" command fail with "Index exceeds the number of array elements" in MATLAB R2022b?
Cause: The error occurs because the .BLF file contains CAN frames with a data length exceeding 8 bytes. According to the CAN pro...

26 days ago | 0

| accepted

Answered
R2022b で "blfread" コマンドが "Index exceeds the number of array elements(配列要素数を超えるインデックス)" エラーで失敗するのはなぜですか?
原因: このエラーは、.BLF ファイルにデータ長が 8 バイトを超える CAN フレームが含まれているために発生します。CAN プロトコルでは、標準 CAN フレームの最大データ長は 8 バイトです。しかし、該当の .BLF ファイルには 8 バイトを超...

26 days ago | 0

| accepted

Answered
Why does the "ipcam" command require the installation of the MATLAB Support Package for IP Cameras even though it is already installed?
The could be due to a MATLAB search path. Please try to execute the following commands in MATLAB command line restoredefaultpat...

26 days ago | 0

| accepted

Answered
Why is the Audio Unit (AU) plug-in created with Audio Toolbox not recognized by the DAW (Apple Logic Pro)?
If it isn’t recognized by Logic Pro, it likely won’t be recognized by GarageBand either. Using GarageBand to gather the followin...

26 days ago | 0

| accepted

Answered
Does the MATLAB Code Compatibility Analyzer always detect warnings shown in the editor?
Cause: The MATLAB Code Analyzer in the Editor is designed to display information, warnings, and errors relevant to a user's code...

26 days ago | 0

| accepted

Question


R2022b で "blfread" コマンドが "Index exceeds the number of array elements(配列要素数を超えるインデックス)" エラーで失敗するのはなぜですか?
特定の .BLF ファイルに対して、MATLAB R2022b で "blfread" コマンドが "Index exceeds the number of array elements" というエラーで失敗します。同じファイルは R2019b では問題な...

26 days ago | 1 answer | 0

1

answer

Load more