Question


Is it possible to increase the "Maximum prediction horizon" above 100 in Model Predictive Control (MPC) Toolbox in R2020a?
Is it possible to increase the "Maximum prediction horizon" above 100 in Model Predictive Control (MPC) Toolbox in R20...

10 days ago | 1 answer | 0

1

answer

Answered
How do I protect the IP of my Simulink model when sharing it with others, who may include it in their models and generate code from them?
There are a few approaches one can follow, based on the level of protection required. Please note that we assume both parent and...

11 days ago | 2

| accepted

Answered
How do you obtain the jacobian of a symbolic function w.r.t. another symbolic function?
It is not possible to calculate the jacobian of a symbolic function w.r.t. another symbolic function directly. According to the ...

11 days ago | 1

| accepted

Answered
How do you split a table into sub-tables based on entries in a specific column?
I have created a simple example which demonstrates how to split a table based on the first column as the category variable. T...

11 days ago | 0

| accepted

Question


How do you split a table into sub-tables based on entries in a specific column?
How do you split a table into sub-tables based on entries in a specific column? Essentially, I want to divide my table data into...

11 days ago | 1 answer | 0

1

answer

Answered
Is it possible to maximize, minimize or get the state of my figure programmatically in MATLAB?
*MATLAB R2018a and later* Starting in MATLAB R2018a, you can use the "WindowState" property to maximize, minimize, o...

11 days ago | 7

| accepted

Answered
How do I place errorbars on my grouped bar graph using function ERRORBAR in MATLAB?
The ability to specify that the "errorbar" function should display the error bars inside the patches is not available ...

11 days ago | 16

| accepted

Question


How do you obtain the jacobian of a symbolic function w.r.t. another symbolic function?
How do you obtain the jacobian of a symbolic function with respect to another symbolic function?

11 days ago | 1 answer | 0

1

answer

Answered
Why does nested 'timer' have unexpected behavior?
Because MATLAB is single threaded and with the way the timer code uses MVM(multi-tasking virtual machine), it does not have the ...

11 days ago | 0

| accepted

Question


Why does nested 'timer' have unexpected behavior?
I want to call a function containing 'timer' with another 'timer callback function' and the result is unexpected...

11 days ago | 1 answer | 0

1

answer

Answered
How to get smoother color using 3D data with colors using 'trisurf'?
You can use the 'boundary' function. Following steps can achieve the desired functionality:   K = boundary(X, Y,...

11 days ago | 0

| accepted

Question


How to get smoother color using 3D data with colors using 'trisurf'?
I have 4D data (3D (X, Y, Z) and color (C) data) which I use to plot with 'trisurf' function. The colors obtained for th...

11 days ago | 1 answer | 0

1

answer

Answered
How can I determine the angle between two vectors in MATLAB?
There is no in-built MATLAB function to find the angle between two vectors. As a workaround, you can try the following: C...

11 days ago | 7

| accepted

Answered
How do I insert an image or figure into a database using the Database Toolbox in MATLAB?
The following example assumes that you have set up a ODBC data source called "myDatabase". The connection "myData...

11 days ago | 3

| accepted

Answered
如何安装和激活 RoadRunner ?
要安装 RoadRunner,请参照以下步骤: 一、安装准备 首先,请参考下面的网页确定您的电脑配置满足RoadRunner的系统要求: <https://ww2.mathworks.cn/help/roadrunner/ug/roadrunner-...

11 days ago | 0

| accepted

Answered
RoadRunner をインストールしたいのですがどのようにすればよいですか?
RoadRunner をインストールするには、以下の手順をご参照ください。 *手順 1: RoadRunner のライセンスファイルと製品インストーラーの取得* *※注:* ■Individual ライセンスの場合、ライセンス管理者または指定されたラ...

12 days ago | 0

| accepted

Answered
Why does Accelerator Mode not include file(s) provided in the custom code configurations?
We have identified two ways of having your required files linked while running in accelerator mode. I have listed these below: ...

12 days ago | 0

| accepted

Answered
Why does FILEPARTS interpret UNIX hidden files as an extension with no basename?
FILEPARTS is intended primarily for use following checks for attributes, such as FILEATTRIB. For example: [stat,mess] = f...

12 days ago | 0

| accepted

Answered
設計した制御モデルの解析を行うと「 精度は周波数範囲の一部が良くない可能性があります」という警告がでるのですが、なぜでしょうか?
状態量のスケールが大きく異なるために生じている事象であると考えられます。 設定されている補償器やモデルのパラメーターには数値のオーダーが大きく異なるものが混在しています。 計算されたシステムではオーダーが異なる状態量が混在するため、その結果としてモデル...

12 days ago | 0

| accepted

Question


設計した制御モデルの解析を行うと「 精度は周波数範囲の一部が良くない可能性があります」という警告がでるのですが、なぜでしょうか?
制御対象に対し、共振を補償するためのノッチフィルタを構成し、直列で接続しているモデルがあります。 このモデルに対し、linmodコマンドを使用して得られた線形モデルの特性を確認すると、 「 精度は周波数範囲の一部が良くない可能性があります」 という警...

12 days ago | 1 answer | 0

1

answer

Answered
How can I have Model InitFcn Callback generated in model Init function using Embedded Coder?
Model initialize function code could be generated in the following methods: * Using <https://in.mathworks.com/help/releases/R...

12 days ago | 0

| accepted

Question


How can I have Model InitFcn Callback generated in model Init function using Embedded Coder?
I have a model which is doing: output = input + par_init + par_edit * par_edit: shall be tunable, to set this value ex...

12 days ago | 1 answer | 0

1

answer

Answered
How can a MATLAB Grader course instructor (who is not the owner of the course) make copies of a course?
Currently (R2020a), there is neither a way to transfer the ownership of a course nor to copy the course as instructor (not owner...

12 days ago | 0

| accepted

Question


How can a MATLAB Grader course instructor (who is not the owner of the course) make copies of a course?
We&#39;ve been using Matlab Grader last year and now we want to use it again this year for the new edition of the class. However...

12 days ago | 1 answer | 0

1

answer

Answered
如何变更许可证管理员
如果您是许可证管理员,您可参照下列步骤添加或移除您许可证的管理员,如果您不是许可证管理员,请联系许可证管理员获得帮助。 谁是我许可证的管理员? <https://www.mathworks.com/matlabcentral/answers/30277...

12 days ago | 0

| accepted

Answered
How do I change the Administrators on my License?
If you are currently an Administrator, you can add or remove Administrators on your Master License by following the instructions...

12 days ago | 0

| accepted

Question


S-function support with Simulink Desktop Real-Time in External Mode
I have written an S-function that uses Windows API functions. When I try to compile this model using sldrt.tlc to run the real-t...

12 days ago | 1 answer | 0

1

answer

Question


如何安装和激活 RoadRunner ?
如何安装和激活 RoadRunner?

12 days ago | 1 answer | 0

1

answer

Answered
How to count the number of integrations from Integrator blocks in a Simulink model in R2020a?
The (maybe) easiest way to do this is the following: You can use the following &#39;Simulink.findBlocksofType&#39; API and sea...

13 days ago | 0

| accepted

Question


How to count the number of integrations from Integrator blocks in a Simulink model in R2020a?
How to count the number of integrations from Integrator blocks in a Simulink model in R2020a? I use Integrator blocks in Si...

13 days ago | 1 answer | 0

1

answer

Load more