Answered

Is it possible to compile MATLAB programs that contain Python code using MATLAB Compiler?

Yes, this workflow is supported. But please pay attention to what mentioned in the link below before compiling your code: ...

Is it possible to compile MATLAB programs that contain Python code using MATLAB Compiler?

Yes, this workflow is supported. But please pay attention to what mentioned in the link below before compiling your code: ...

6 days ago | 0

| accepted

Question

Is it possible to compile MATLAB programs that contain Python code using MATLAB Compiler?

I tried compiling my MATLAB program with Python code into a standalone application, but got the following error message when run...

6 days ago | 2 answers | 0

Answered

How to use the 'splitapply' function for columns of a table?

You can achieve this after converting the table into a matrix and then using the 'splitapply' function. Please find the...

How to use the 'splitapply' function for columns of a table?

You can achieve this after converting the table into a matrix and then using the 'splitapply' function. Please find the...

7 days ago | 0

| accepted

Answered

What types of integration can MATLAB perform?

You can do the following types of integration with MATLAB using our pre-written integration routines: Ordinary Differential Equ...

What types of integration can MATLAB perform?

You can do the following types of integration with MATLAB using our pre-written integration routines: Ordinary Differential Equ...

10 days ago | 0

| accepted

Question

What types of integration can MATLAB perform?

I would like to know if I can solve ordinary differential equations in MATLAB. I also would like to know if there are methods i...

10 days ago | 1 answer | 1

Answered

"contourc" Functions Does Not Accept Inputs of Type Single.

One workaround is to cast the variables of type single into type double.

"contourc" Functions Does Not Accept Inputs of Type Single.

One workaround is to cast the variables of type single into type double.

10 days ago | 0

| accepted

Answered

"scatteredInterpolant" Function Does Not Accept Inputs of Type Single.

One workaround is to cast the variables of type single into type double.

"scatteredInterpolant" Function Does Not Accept Inputs of Type Single.

One workaround is to cast the variables of type single into type double.

10 days ago | 0

| accepted

Answered

"text" Function Does Not Accept Inputs of Type Single.

One possible workaround is to cast the variables of type single into type double. The "Position" name-value pair can a...

"text" Function Does Not Accept Inputs of Type Single.

One possible workaround is to cast the variables of type single into type double. The "Position" name-value pair can a...

10 days ago | 0

| accepted

Answered

How do I silently install Support Packages in MATLAB R2018a or newer?

*This process is not available in MATLAB releases prior to R2018a.* In order to install a support package silently you will nee...

How do I silently install Support Packages in MATLAB R2018a or newer?

*This process is not available in MATLAB releases prior to R2018a.* In order to install a support package silently you will nee...

10 days ago | 0

| accepted

Question

How do I silently install Support Packages in MATLAB R2018a or newer?

How do I silently install Support Packages in MATLAB R2018a or newer?

10 days ago | 1 answer | 0

Answered

How can I use a legend in App Designer to toggle line visibility on and off?

To toggle line visibility on and off, you can make use of the 'ButtonDownFcn' callback of the legend instead. Please see...

How can I use a legend in App Designer to toggle line visibility on and off?

To toggle line visibility on and off, you can make use of the 'ButtonDownFcn' callback of the legend instead. Please see...

10 days ago | 0

| accepted

Answered

Can I Generate AUTOSAR code for a specfic ECU?

In theory, AUTOSAR is a 3 layer framework that consists of an application layer, a Runtime Environment Layer and a Basic Softwar...

Can I Generate AUTOSAR code for a specfic ECU?

In theory, AUTOSAR is a 3 layer framework that consists of an application layer, a Runtime Environment Layer and a Basic Softwar...

10 days ago | 0

| accepted

Answered

Unexpected Results due to Floating Point Rounding Errors by performing Arithmetic calculations on large numerical values

This behavior is because of floating point rounding errors which is inherent to the nature of floating point number representati...

Unexpected Results due to Floating Point Rounding Errors by performing Arithmetic calculations on large numerical values

This behavior is because of floating point rounding errors which is inherent to the nature of floating point number representati...

10 days ago | 0

| accepted

Answered

ga関数(遺伝的アルゴリズム)の最適化計算で、全ての世代を保存するにはどうすればよいですか？

最適化計算での各世代での経過を変数として出力するには、OutputFcn(optimoptions 関数で設定する場合)、もしくは OutputFcns（gaoptimset 関数で設定する場合） にて、ユーザ側で、得たい値を出力するコールバックを定義する...

ga関数(遺伝的アルゴリズム)の最適化計算で、全ての世代を保存するにはどうすればよいですか？

最適化計算での各世代での経過を変数として出力するには、OutputFcn(optimoptions 関数で設定する場合)、もしくは OutputFcns（gaoptimset 関数で設定する場合） にて、ユーザ側で、得たい値を出力するコールバックを定義する...

10 days ago | 1

| accepted

Answered

How can I color dots in a 3D Scatter Plot using a separate variable?

You can achieve this by using the below syntax: >> scatter3(score(:,1),score(:,2),score(:,3),[],Y) The varia...

How can I color dots in a 3D Scatter Plot using a separate variable?

You can achieve this by using the below syntax: >> scatter3(score(:,1),score(:,2),score(:,3),[],Y) The varia...

10 days ago | 0

| accepted

Question

Can I Generate AUTOSAR code for a specfic ECU?

I am trying to generate AUTOSAR code for a software component. Can I configure Simulink in such a way that the generated code i...

10 days ago | 1 answer | 0

Question

How can I color dots in a 3D Scatter Plot using a separate variable?

I plotted a 3D score plot as follows: >> scatter3(score(:,1),score(:,2),score(:,3)); How can I color the dots...

10 days ago | 1 answer | 0

Question

Unexpected Results due to Floating Point Rounding Errors by performing Arithmetic calculations on large numerical values

Why am I getting unexpected results while working with functions such as 'mean' for array containing large numerical val...

10 days ago | 1 answer | 0

Question

How can I use a legend in App Designer to toggle line visibility on and off?

In GUIDE or with 'figure', I can use the 'ItemHitFcn' callback of a 'legend' to toggle the visibility of...

10 days ago | 1 answer | 0

Question

ga関数(遺伝的アルゴリズム)の最適化計算で、全ての世代を保存するにはどうすればよいですか？

Genetic Algorithm(GA, 遺伝的アルゴリズム)を用いて、最適化計算を行っています。このときの経過を変数として出力する方法を教えてください。 例えば、PlotFcns コールバックで @gaplotbestf を設定すると、ベスト適応度(...

10 days ago | 1 answer | 1

Question

How to use the 'splitapply' function for columns of a table?

Can the 'splitapply' function work on multiple columns on a table without using 'for' loop?

10 days ago | 1 answer | 0

Answered

Is it possible to generate HDL Code from Simscape models?

Starting from R2018b, you can generate HDL code for your plant model that you developed using Simscape switched linear blocks. ...

Is it possible to generate HDL Code from Simscape models?

Starting from R2018b, you can generate HDL code for your plant model that you developed using Simscape switched linear blocks. ...

11 days ago | 0

| accepted

Question

Is it possible to generate HDL Code from Simscape models?

Is HDL Code generation supported for Simscape models?

11 days ago | 1 answer | 0

Answered

Why can't I use variables of type int64/uint64 as block parameter in Simulink?

While int64 and uint64 are supported as built-in Simulink data types since R2019a, int64/uint64 variables as block parameters ar...

Why can't I use variables of type int64/uint64 as block parameter in Simulink?

While int64 and uint64 are supported as built-in Simulink data types since R2019a, int64/uint64 variables as block parameters ar...

11 days ago | 0

| accepted

Answered

How to automatize entering password for protected models in Simulink?

You can find the documented API here: <https://de.mathworks.com/help/rtw/model-protection.html?s_tid=CRUX_lftnav> It is possib...

How to automatize entering password for protected models in Simulink?

You can find the documented API here: <https://de.mathworks.com/help/rtw/model-protection.html?s_tid=CRUX_lftnav> It is possib...

11 days ago | 0

| accepted

Question

Why can't I use variables of type int64/uint64 as block parameter in Simulink?

I have a variable of type int64/uint64 in MATLAB workspace. When I try to specify this variable as parameter for a Constant or G...

11 days ago | 1 answer | 0

Question

How to automatize entering password for protected models in Simulink?

How to automatize entering password for protected models in Simulink?

11 days ago | 1 answer | 0

Answered

How do third party companies generate FMUs out of Simulink models?

We do not completely know how they generate FMUs out of Simulink models. Mostly they generate S-Functions, but we cannot provide...

How do third party companies generate FMUs out of Simulink models?

We do not completely know how they generate FMUs out of Simulink models. Mostly they generate S-Functions, but we cannot provide...

11 days ago | 0

| accepted

Question

How do third party companies generate FMUs out of Simulink models?

How do third party companies generate FMUs out of Simulink models?

11 days ago | 1 answer | 0

Answered

How do I use the License Center?

MathWorks License Center allows you to manage most aspects of your MATLAB licenses through the web. To use the License Center yo...

How do I use the License Center?

MathWorks License Center allows you to manage most aspects of your MATLAB licenses through the web. To use the License Center yo...

11 days ago | 0

| accepted