将 Matlab 模糊逻辑工具箱 fis 文件转换为 c# / c++ / JavaScript
我有一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当然,您会知道 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.