--- Quote Start ---
Hello,
i am facing a problem in converting matlab code into nios ide. is there anyway to convert these code into C/C++ used in nios ide? My matlab code is regarding image processing. is there any reference for this part?thank you.
regards,
Liau
--- Quote End ---
There is no direct conversion. But there are ways which can lessen your burden:
1. Write a C code that can be used both in MATLAB and NIOS with some changes: For MATLAB, write a mex file and for NIOS, modify the C-code with NIOS specific constructs. A simple code may not reuire much change for NIOS but a complicated one would need complete restructuring.
2. Codes that need RTOS will have to be completely rewritten for NIOS and MATLAB.
3. Or you can write a code in MATLAB, use its Link to ModelSim feature to convert it to HDL and then use it as an HDL component in SOPC Builder.