将 Matlab 模糊逻辑工具箱 fis 文件转换为 c# / c++ / JavaScript

发布于 2024-11-16 07:55:38 字数 251 浏览 2 评论 0原文

我有一个 Matlab 程序,部分依赖于 Matlab 的模糊逻辑工具箱,我想将其转换为 c# 程序(然后转换为 Objective-C,但让我们稍后保留它)。 有没有办法将我的模糊逻辑 fis 文件转换为 c# (或 c++,甚至可能是 javascript)?

PS我知道deploytool可以将我的程序转换为exe,但我不想依赖matlab运行时组件和dll,而是使其成为一个完整的c#(或c++) ) 程序。

I have a Matlab program that is partially relies on Matlab's Fuzzy logic toolbox, which I want to convert to c# program (and later on to objective-c, but let's keep this for later).
Is ther any means to convert my fuzzy logic fis file into c# (or c++, or maybe even javascript)?

P.S. I know the deploytool can convert my program to exe, but I don't want to rely on matlab runtime component and dlls but to make it a complete c# (or c++) program.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你列表最软的妹 2024-11-23 07:55:38

当然,您会知道 Mathlab Builder 它将您的 m 文件转换为 .Net 组件,但依赖于 Mathlab 运行时。我有很多类似的经历,恐怕你基本上必须找到模仿工具箱的c#库,并将你的mathlab程序相应地转换为c#。查找库或转换过程并不像您想象的那么困难。但是,如果您的例程足够复杂,验证测试将是一项艰巨的任务,因为您需要将 mathlab 结果与 C# 程序的结果与最可能的组合进行匹配。我的建议是在进行转换之前采用敏捷方法并计划/编写验证测试。

Of course, you would know Mathlab Builder which converts your m files to .Net components but depends on Mathlab runtime. I have a lot of similar experiences, and I am afraid that you have to basically find c# library imitating the toolbox and convert your mathlab program into c# accordingly. Finding the library or converting process will not be as difficult as you would think. But validation test would be a big task if your routines are complex enough because you need to match mathlab results to those of your c# program with most possible combinations. My recommendation is to take agile approach and plan/write the validation tests before you work on the conversion.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文