is it possible to use function without toolbox

Hey everyone,
I am currently trying to solve a problem, I actually solved it, and I need the fmincon function from the optimization toolbx to do so. No problem so far. But this code should in the future be used by someone else, who does not have this toolbox.
Is there any way they can use my code, maybe when I compile it into a mex function? Or do they need the toolbox to run this mex function even if I compiled it on my system?
In other words: Is it 100% necessarry to purchase a toolbox if code with a toolbox function is called, no matter if its mex or inside an .exe or...is there a possibility for them to use it without the purchase?
I dont wanna to lose you guys money, but when its about the purchase of a Matlab toolbox some people like bureaucracy and as long as they have not decided internaly I am losing time, not knowing if I have to find an alternative way or if I can continue...
Best regards

1 件のコメント

Matt J
Matt J 2022 年 10 月 6 日
編集済み: Matt J 2022 年 10 月 6 日
I dont wanna to lose you guys money
Why would we care (except may be those of us who work for the MathWorks)?

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

 採用された回答

Matt J
Matt J 2022 年 10 月 6 日

0 投票

If you have the Matlab Compiler product, then you can deploy your code as a standalone application. Your end-users do not need a particular toolbox, nor even the Matlab core product, to run that.

4 件のコメント

Marc Laub
Marc Laub 2022 年 10 月 6 日
I have the product and could make it to a standalone, but for right now, since everything is under development, a blackbox standalone is not what we are looking for.
Guess I have to find a file exchange alternativ for fmincon, which does not use toolbox functions
Matt J
Matt J 2022 年 10 月 6 日
But you asked for an .exe solution and that's what the Matlab Compiler gives you...
Marc Laub
Marc Laub 2022 年 10 月 6 日
it would solve it but would be the least favorable solution
Vincent Randal
Vincent Randal 2024 年 1 月 19 日
Why? Why would it be the least favorable solution?

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

その他の回答 (1 件)

Matt J
Matt J 2022 年 10 月 6 日

0 投票

You can also call Python optimizers from Matlab, like

1 件のコメント

Marc Laub
Marc Laub 2022 年 10 月 6 日
Thanks, I though about going for something similar:

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

カテゴリ

ヘルプ センター および File ExchangeThird-Party Cluster Configuration についてさらに検索

製品

リリース

R2021b

タグ

質問済み:

2022 年 10 月 6 日

コメント済み:

2024 年 1 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by