How to load a function to use in Matlab? In this case the DiskMargin function.

I'm using the Matlab 2018a version and I want to use the DiskMargin function but this version don't have this function. How to load a function to use in Matlab?

1 件のコメント

Torsten
Torsten 2024 年 12 月 4 日
I don't understand. You want to use a function that does not exist in your MATLAB release ? Where do you want to get a compatible version of the function from ?

サインインしてコメントする。

 採用された回答

Les Beckham
Les Beckham 2024 年 12 月 4 日
編集済み: Les Beckham 2024 年 12 月 4 日

0 投票

diskmargin is a function in the Robust Control Toolbox. You will need to install that toolbox.
Also, that function was added to that toolbox in R2018b, so you will need to get a more recent version of Matlab.

5 件のコメント

Steven Lord
Steven Lord 2024 年 12 月 4 日
In addition the poster will need to upgrade to release R2018b or later, as this function was "Introduced in R2018b".
Les Beckham
Les Beckham 2024 年 12 月 4 日
Thanks, Steven. I had noticed that as well and updated my answer.
Edwin Red Estofanero Larico
Edwin Red Estofanero Larico 2024 年 12 月 4 日
I think that the diskmargin function was added in the Robust Control Toolbox after of the 2018a Matlab release. Must be the reason that I don't have that function.
Edwin Red Estofanero Larico
Edwin Red Estofanero Larico 2024 年 12 月 4 日
Thanks Les Beckham.
Les Beckham
Les Beckham 2024 年 12 月 4 日
You are quite welcome.

サインインしてコメントする。

その他の回答 (0 件)

製品

リリース

R2018a

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by