- Remove the use of cell arrays
- Convert your script to a function (you'll just need to add a function declaration line)
- Rewrite your code to remove any while loops or break statements within for loops
m.file to VHDL
3 views (last 30 days)
Show older comments
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 .
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145230/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145231/image.jpeg)
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
0 Comments
Answers (1)
Tim McBrayer
on 2 Sep 2014
The error messages read clear to me. You need to:
See Also
Categories
Find more on HDL Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!