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
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 CenterFile Exchange 中查找有关 Cell Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by