How can I convert MATLAB code to pseudo code automatically?
6 次查看(过去 30 天)
显示 更早的评论
Is there any software or tool to convert MATLAB code to pseudo code?
1 个评论
Rik
2018-1-8
Not as far as I know. The goal of pseudo-code is to be understandable for people who aren't familiar with the specific language. It therefore depends on your intended audience what you need to generalize out of Matlab and what can stay in Matlab syntax. Generally, everybody who should be able to understand your pseudo-code should be able to understand your Matlab-code, provided you have written sufficient comments, and they know that Matlab indexes arrays from 1 instead of 0 (i.e. A(1) is the first element, not A(0), as in many other languages).
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cell Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!