我正在将一些 MATLAB 函数移植到 Scilab。 最酷的是,有一个转换工具箱,可以让事情变得非常简单简单的。
问题是我没有找到 syms 函数的对应项以及一般的符号工具箱。 (我也想要控制系统工具箱的端口,而且我仍在寻找一些我可能需要的功能)。
我发现的关于符号工具箱的唯一内容是 this ,但是有点trcky,不太容易(实际上我没能在30分钟内正确设置它,我暂时放弃了。稍后我会尝试),并且需要要安装的千里马。 有人知道这件事吗?
Scilab 并不是必须的。 该项目旨在为 MATLAB 提供更加免费和开源的替代方案。 我看到有 SymPy 用于 Python,我可以将它与 SciPy,但我丢失了转换工具箱< /a> thing :\
也就是说,什么应该更好? 让 SciLab 和 Maxima 协同工作或迁移到 Python 和 Maxima 有限公司? 这是项目的开始,所以我越早选择越好。
I'm porting some MATLAB functions to Scilab. The cool thing is that there is a conversion toolbox that make things very easy.
The problem is I did not find the counterpart to the syms function, and the symbolic toolbox in general. (I'd like a port of the Control System Toolbox too, amd I'm still searching for some functions I'd may need).
The only thing about symbolic toolbox I've found is this, but it was a little trcky and not so easy (actually I was not able to set up it correctly in 30 minutes, and I gave up for now. I'm going to try later), and it needs Maxima to be installed. Does anyone know anything about that?
Scilab is not exactly a must. The project aims to give a more free and open source alternative to MATLAB. I saw there is SymPy for Python, and I just could use it with SciPy, but I'd lost the conversion toolbox thing :\
That said, what should be better? Get SciLab and Maxima work together or move to Python & co.? This is the start of the project, so the earlier I choose this, the better.
发布评论
评论(2)
请参阅 再见 MATLAB,你好 Python,谢谢 Sage 了解从 MATLAB 迁移到 Python 的第一手经验。
See Bye MATLAB, hello Python, thanks Sage for a first-hand experience of migrating from MATLAB to Python.
不是为了阻止您的项目,而是如果您只是想要一个免费和开源替代MATLAB,您看过 Octave 吗?项目? 在那里做出贡献可能比构建您自己的 MATLAB 替代方案更有成效。
如果您的项目需要 MATLAB Symbolic 的功能,请查看
通过 Google 快速搜索,我没有找到任何与 MATLAB Simulink 相媲美的内容。
另外,Python 和 SciPy 确实具有 MATLAB 的大部分功能,我猜 Scilab 的转换实用程序对于将您自己的 M 文件移植到 Scilab 代码中很有用。
您的问题似乎暗示您想要通过 MATLAB 工具箱进行移植
我希望我只是误解了你。 如果您是这样,那么如果您要通过 MATLAB Toolbox 分发您的系统,则可能会出现许可问题。 只是一个想法。 但也许您希望将 MATLAB 代码移植到其中,以便它不具有 MATLAB 依赖项。
对于控制系统功能 Octave 的更新
,我刚刚发现 Octave 确实有一个工具箱,请参阅:
它具有 Simulink 的一些功能,但它似乎没有用于构建框图的图形界面。
Not to discourage your project, but if you just want a free and open source alternative to MATLAB, have you looked at the Octave project? Contributing there might be more productive than building your own MATLAB alternative.
If your project requires the functionality of MATLAB's Symbolic then take a look at
From my quick Google search I didn't find anything comparable to MATLAB's Simulink.
Also, Python and SciPy do have most of the functionality of MATLAB, and I guess Scilab's conversion utility would be useful in porting your own M-Files into Scilab code.
Your question seems to imply you want to port over MATLAB Toolboxes
I hope I am just misinterpreting you. If you are then there might be licensing issues if you were to distribute your system because the MATLAB Toolbox. Just a thought. But perhaps you wish to port your MATLAB code to, so that it doesn't not have the MATLAB dependency.
Update
For Control System functionality Octave, I just found that Octave does have a toolbox, see:
Which has some of the functionality of Simulink, but it doesn't seem to have the graphical interface for building block diagrams.