Automatically generate program logic flow chart from mfile?

45 ビュー (過去 30 日間)
K E
K E 2016 年 8 月 10 日
コメント済み: Walter Roberson 2021 年 5 月 24 日
I just discovered code2flow which is great for mapping out the logical flow of code, for example when debugging. However it requires you enter pseudo code, or you can run it on existing javascript or Python code. I would love if there was a similar tool that would let you make a visual representation of the logic flow of an mfile. Does this exist?
  4 件のコメント
TAO ZHOU
TAO ZHOU 2019 年 9 月 27 日
There is no a pure matlab code 2 flow chart generator in world. The link above is just for matlab code containing class keywords. No class matlab script will generate error info when converting code to chart.
Walter Roberson
Walter Roberson 2019 年 11 月 18 日
Md. Nahidul Islam asks whether anyone has tried Visustin

サインインしてコメントする。

回答 (1 件)

Mohammad Askar
Mohammad Askar 2021 年 5 月 24 日
i=imread('wine.jpg');%farakhani tasvir
i1=rgb2gray(i);
i2=im2double(i1);
g=imresize(i2,.6);%taghir size
[M,N]=size(g);
for m=1:M
for n=1:N
f = g+0.4*rand(M,N);
end
end
s=5/6%taeen sigma
h=zeros(5,5);%sakht matrix sefr
for x=-2:2%toole panjere
for y=-2:2%arze panjere
h(x+3,y+3)=.5*(1/(s^2)*pi)*exp(-x^2+y^2/(2*s^2));%moadele gussy
end
end
u=imfilter(f,h);%emal filter bar tasvir
subplot(2,2,2),imshow(g,[]),title('tasvire asli')
subplot(2,2,3),imshow(f,[]),title(' tasvir noise dar')
subplot(2,2,4),imshow(u,[]),title(' tasvir denoise ')
  1 件のコメント
Walter Roberson
Walter Roberson 2021 年 5 月 24 日
Please explain how this relates to the Question that was asked about generating flow charts.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDeveloping Chart Classes についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by