필터 지우기
필터 지우기

m.file to VHDL

조회 수: 4 (최근 30일)
lotus whit
lotus whit 2014년 8월 31일
편집: lotus whit 2014년 9월 3일
Jul 24
Hi
would you please to ask you about converting the m file for VHDL that will contain 2 or more m-file (one of them call function in the other one)
for example :
i have code (final.m) this code calls functions in( GLCM_Features1.m)
when i try to convert final.m these errors appears in the attached pictures
please ,help me ,how i can solve this problem .
pg>>
Thank you alot
regards
lotus
Note: 1-glcm features m file link is (<http://www.mathworks.com/matlabcentral/fileexchange/22187-glcm-texture-features/content/GLCM_Features1.m>) 2- i use MATLAB R2012B

답변 (1개)

Tim McBrayer
Tim McBrayer 2014년 9월 2일
The error messages read clear to me. You need to:
  1. Remove the use of cell arrays
  2. Convert your script to a function (you'll just need to add a function declaration line)
  3. Rewrite your code to remove any while loops or break statements within for loops
  댓글 수: 1
lotus whit
lotus whit 2014년 9월 3일
편집: lotus whit 2014년 9월 3일
you mean rewrite my code to remove while loop or break .....that easy. but how i can remove cell arrays ,i have data base for features from image processing algorthim, and how i can add declaration function line . would you please guid me. ragards Lotus

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 HDL Coder에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by