How can I convert MATLAB code to pseudo code automatically?

Is there any software or tool to convert MATLAB code to pseudo code?

1 commentaire

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).

Connectez-vous pour commenter.

Réponses (0)

Catégories

Question posée :

le 8 Jan 2018

Commenté :

Rik
le 8 Jan 2018

Community Treasure Hunt

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

Start Hunting!

Translated by