Answered

Can I cross-compile when exporting my FMU in Simulink Compiler?

Since R2022a, you can reuse the standalone co-simulation FMU with source code for cross-platform workflow. Please see the detail...

Can I cross-compile when exporting my FMU in Simulink Compiler?

Since R2022a, you can reuse the standalone co-simulation FMU with source code for cross-platform workflow. Please see the detail...

4 dagar ago | 0

| accepted

Answered

How do I verify if my Parrot drone is functional before I start creating a drone connection in the MATLAB Support Package for Parrot Drones?

You can verify if your Parrot drone is functional by using Parrot’s FreeFlight Mini app: https://apps.apple.com/us/app/freefligh...

How do I verify if my Parrot drone is functional before I start creating a drone connection in the MATLAB Support Package for Parrot Drones?

You can verify if your Parrot drone is functional by using Parrot’s FreeFlight Mini app: https://apps.apple.com/us/app/freefligh...

5 dagar ago | 0

| accepted

Answered

Why does "str2double" ignore misplaced commas in the input string?

The "str2double" function eliminates all commas from the input string before attempting to determine its numeric value. The "str...

Why does "str2double" ignore misplaced commas in the input string?

The "str2double" function eliminates all commas from the input string before attempting to determine its numeric value. The "str...

5 dagar ago | 0

| accepted

Answered

How should I add .NET assemblies and import libraries for a singleton class?

It is best to add the assemblies and import the libraries in the constructor, then the namespaces are imported after the constru...

How should I add .NET assemblies and import libraries for a singleton class?

It is best to add the assemblies and import the libraries in the constructor, then the namespaces are imported after the constru...

5 dagar ago | 0

| accepted

Question

How should I add .NET assemblies and import libraries for a singleton class?

I have some .NET object that I would like to be reused, so I created a singleton class. My singleton class depends on imported l...

5 dagar ago | 1 answer | 0

Answered

Webビューの「MATLABサポート関数を含める」オプションの機能は、何ですか？

Webビュー画面の「MATLABサポート関数を含める」オプションの機能ですが、 MATLAB Function ブロックで使用しているユーザ定義のMATLAB関数をWeb ビューにエクスポートするかどうかの選択オプションになります。 例えば、モデルtest...

Webビューの「MATLABサポート関数を含める」オプションの機能は、何ですか？

Webビュー画面の「MATLABサポート関数を含める」オプションの機能ですが、 MATLAB Function ブロックで使用しているユーザ定義のMATLAB関数をWeb ビューにエクスポートするかどうかの選択オプションになります。 例えば、モデルtest...

5 dagar ago | 0

| accepted

Answered

Does MATLAB R2023a upgrade OpenSSL to address ACAS vulnerabilities?

MATLAB R2023b and later releases uses OpenSSL v3 for all products except for Industrial Communication (ICOMM) Toolbox. The ICOMM...

Does MATLAB R2023a upgrade OpenSSL to address ACAS vulnerabilities?

MATLAB R2023b and later releases uses OpenSSL v3 for all products except for Industrial Communication (ICOMM) Toolbox. The ICOMM...

5 dagar ago | 1

| accepted

Answered

How can I get debug information for Polyspace Access?

You can generate and send the Polyspace Access service logs to MathWorks Support to help diagnose a Polyspace Access issue, be i...

How can I get debug information for Polyspace Access?

You can generate and send the Polyspace Access service logs to MathWorks Support to help diagnose a Polyspace Access issue, be i...

5 dagar ago | 2

| accepted

Answered

Why do I get build errors about missing headers (arm_math.h) when using CMSIS Code Replacement Library for ARM Cortex?

There are two things to note about builds using the CMSIS code replacement libraries (CRL): 1) CMSIS libraries only work with G...

Why do I get build errors about missing headers (arm_math.h) when using CMSIS Code Replacement Library for ARM Cortex?

There are two things to note about builds using the CMSIS code replacement libraries (CRL): 1) CMSIS libraries only work with G...

5 dagar ago | 0

| accepted

Answered

Why do I receive the error "Unable to save login information. You are currently signed in but you will be prompted to sign in again the next time that you start this application"?

If this error occurs when attempting to start MATLAB, there may be a conflict between the MATLABConnector ServiceHost and the Ma...

Why do I receive the error "Unable to save login information. You are currently signed in but you will be prompted to sign in again the next time that you start this application"?

If this error occurs when attempting to start MATLAB, there may be a conflict between the MATLABConnector ServiceHost and the Ma...

5 dagar ago | 5

| accepted

Question

Webビューの「MATLABサポート関数を含める」オプションの機能は、何ですか？

Webビューの「MATLABサポート関数を含める」オプションの機能について、教えてください。

5 dagar ago | 1 answer | 0

Answered

Is there a format in MATLAB to display numbers such that commas are automatically inserted into the display?

You can enhance the readability of large numbers by formatting them with commas to separate digits using the "java.text.DecimalF...

Is there a format in MATLAB to display numbers such that commas are automatically inserted into the display?

You can enhance the readability of large numbers by formatting them with commas to separate digits using the "java.text.DecimalF...

6 dagar ago | 2

| accepted

Answered

MISOのHammerstein-Wienerモデルを作成することは可能でしょうか？

可能です。添付の例題(SLXファイルはR2018bで作成)を用意しました。 本例題では3入力1出力の単純な非線形システムを想定し、nlhwコマンドによってモデルの推定を行うまでの手順を示しています。 nlhwコマンドにて作成する場合には、引数にてHamm...

MISOのHammerstein-Wienerモデルを作成することは可能でしょうか？

可能です。添付の例題(SLXファイルはR2018bで作成)を用意しました。 本例題では3入力1出力の単純な非線形システムを想定し、nlhwコマンドによってモデルの推定を行うまでの手順を示しています。 nlhwコマンドにて作成する場合には、引数にてHamm...

6 dagar ago | 0

| accepted

Answered

Which inertia needs to be entered in the Planetary Gear Planet inertia box?

The planet's inertia needs to be split between the inertia around its own axis and the inertia around the sun axis. To correctly...

Which inertia needs to be entered in the Planetary Gear Planet inertia box?

The planet's inertia needs to be split between the inertia around its own axis and the inertia around the sun axis. To correctly...

6 dagar ago | 0

| accepted

Answered

Why am I being told "the license file selected appears to be invalid" when browsing to a license file?

There are a few possible reasons for this issue. See the information below to resolve this activation error: 1) Bad formatted/m...

Why am I being told "the license file selected appears to be invalid" when browsing to a license file?

There are a few possible reasons for this issue. See the information below to resolve this activation error: 1) Bad formatted/m...

6 dagar ago | 0

| accepted

Answered

Receiving "Out of Memory" error when simulating model with parsim. Is there a way to reduce the amount of RAM used during parallel simulations?

Optimizing Memory Usage in Parallel Simulations with Simulink Each time a parallel simulation is executed, the resulting data is...

Receiving "Out of Memory" error when simulating model with parsim. Is there a way to reduce the amount of RAM used during parallel simulations?

Optimizing Memory Usage in Parallel Simulations with Simulink Each time a parallel simulation is executed, the resulting data is...

6 dagar ago | 0

| accepted

Question

Receiving "Out of Memory" error when simulating model with parsim. Is there a way to reduce the amount of RAM used during parallel simulations?

I am simulating a model using "parsim". When I perform a small number of simulations, the memory usage is below my hardware limi...

6 dagar ago | 1 answer | 0

Answered

Why does the "int" function return different results for two expressions that are mathematically the same in MATLAB R2023a?

Although the variables "f" and "g" can be simplified to the same expression mathematically, the placement of parentheses is caus...

Why does the "int" function return different results for two expressions that are mathematically the same in MATLAB R2023a?

Although the variables "f" and "g" can be simplified to the same expression mathematically, the placement of parentheses is caus...

6 dagar ago | 0

| accepted

Answered

Best practices for Using Speedgoat as an EtherCAT Main Device with Simulink Real-Time

1. Use Bus Shift Mode: If your model is currently configured for Main Device Shift Mode (previously called "Master Shift Mode"),...

Best practices for Using Speedgoat as an EtherCAT Main Device with Simulink Real-Time

1. Use Bus Shift Mode: If your model is currently configured for Main Device Shift Mode (previously called "Master Shift Mode"),...

6 dagar ago | 0

| accepted

Question

Why do I get the error "Computed maximum size is not bounded" when using colon operator with unbounded arguments in MATLAB Coder?

The following code snippet, which initializes an array 'rowIndex' with the colon operator: assert(all(size(values) == [5,5]),'s...

9 dagar ago | 1 answer | 0

Question

Why does the "int" function return different results for two expressions that are mathematically the same in MATLAB R2023a?

I am trying to use the "int" function from the Symbolic Math Toolbox to find the integral of two univariate expressions. Here is...

9 dagar ago | 1 answer | 0

Answered

What are some alternatives to simulink.compiler.getSimulationOutput that may be faster for certain applications?

First consider using the decimation option of the postStepFcn. This can significantly improve performance. Next consider turning...

What are some alternatives to simulink.compiler.getSimulationOutput that may be faster for certain applications?

First consider using the decimation option of the postStepFcn. This can significantly improve performance. Next consider turning...

9 dagar ago | 0

| accepted

Question

What are some alternatives to simulink.compiler.getSimulationOutput that may be faster for certain applications?

I have a model I am trying to run with Simulink Compiler with live plotting using the postStepFcn. I notice that the pace of my ...

9 dagar ago | 1 answer | 0

Answered

Can I use the MATLAB Engine API for Python with a virtual environment?

You can use the MATLAB Engine API for Python with a virtual environment. To do so, you must be sure to install the Python Engine...

Can I use the MATLAB Engine API for Python with a virtual environment?

You can use the MATLAB Engine API for Python with a virtual environment. To do so, you must be sure to install the Python Engine...

9 dagar ago | 0

| accepted

Question

Can I use the MATLAB Engine API for Python with a virtual environment?

I need to use the MATLAB Engine API for Python from a virtual environment. How can I do that?

9 dagar ago | 1 answer | 0

Answered

How do I navigate to the 'Help' drop-down menu in MATLAB?

To navigate to the Help drop-down menu in the desktop version of MATLAB:Launch MATLABIn the tool strip, find the 'Help' option ...

How do I navigate to the 'Help' drop-down menu in MATLAB?

To navigate to the Help drop-down menu in the desktop version of MATLAB:Launch MATLABIn the tool strip, find the 'Help' option ...

9 dagar ago | 0

| accepted

Question

How do I navigate to the 'Help' drop-down menu in MATLAB?

How do I navigate to the 'Help' drop-down menu in MATLAB?

9 dagar ago | 1 answer | 0

Answered

How do I change the Java Virtual Machine (JVM) that MATLAB is using on macOS?

maci64 (Intel) In MATLAB R2013a and earlier, MATLAB uses the system-wide JVM. In releases R2013b through R2019b, MATLAB uses the...

How do I change the Java Virtual Machine (JVM) that MATLAB is using on macOS?

maci64 (Intel) In MATLAB R2013a and earlier, MATLAB uses the system-wide JVM. In releases R2013b through R2019b, MATLAB uses the...

9 dagar ago | 7

| accepted

Answered

Why can't I find the Hardware Support Packages for Vehicle Network Toolbox?

Please be aware that, as of September 2023, hardware Support Packages are no longer used to install support for Vector, Kvaser, ...

Why can't I find the Hardware Support Packages for Vehicle Network Toolbox?

Please be aware that, as of September 2023, hardware Support Packages are no longer used to install support for Vector, Kvaser, ...

9 dagar ago | 1

| accepted

Answered

How do I change the Java Virtual Machine (JVM) that MATLAB is using for Linux?

By default, MATLAB ships with the Oracle® version 8 JVM™. However, you can change it to use an OpenJDK JVM. MATLAB supports Open...

How do I change the Java Virtual Machine (JVM) that MATLAB is using for Linux?

By default, MATLAB ships with the Oracle® version 8 JVM™. However, you can change it to use an OpenJDK JVM. MATLAB supports Open...

9 dagar ago | 0

| accepted