Can I do this in Matlab?

2 ビュー (過去 30 日間)
Erwin Avendaño
Erwin Avendaño 2017 年 11 月 7 日
コメント済み: Erwin Avendaño 2017 年 11 月 7 日
What happens is that my code uses Symbolic Math Toolbox and then making my guide executable the button that uses Symbolic Math Toolbox does not work, I had thought if using for example "syms, str2double, vpa" in my guide does not work because when executable do not know what to do if I could directly add the script of these, look in the matlab folder the vpa, str2double, syms script and I came up with my idea is to paste these scripts when I ask for the files my guide needs to start . It's okay?

採用された回答

John D'Errico
John D'Errico 2017 年 11 月 7 日
Sorry. You cannot copy parts of a toolbox into another directory and have those functions work properly.
  5 件のコメント
Erwin Avendaño
Erwin Avendaño 2017 年 11 月 7 日
for the case of newton raphson how could he do?
Erwin Avendaño
Erwin Avendaño 2017 年 11 月 7 日
I use diff to derive the function but the same is symbolic math toolbox so it does not work on my executable. What would I have to do?

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

その他の回答 (1 件)

Image Analyst
Image Analyst 2017 年 11 月 7 日
From Answers in the other post today, we know that you cannot compile an m-file into a standalone executable if it does anything with the symbolic toolbox. See if you can convert your problem into a numerical solution instead of a symbolic one.
  1 件のコメント
Erwin Avendaño
Erwin Avendaño 2017 年 11 月 7 日
Thank you

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

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by