Converting MATLAB code in C
显示 更早的评论
Hello,
I am new to MATLAB, i also have a project which in which i have a MATLAB code and which i want to convert into C so that i can use it on ANDROID. but while converting the code, it is givien me errors so the converting is not fully completed.
If i run that MATLAB code on MATLAB, it works perfectly. So what can i do over here? can you kindly can anyone guide me with it...!!
1 个评论
Gareth
2018-12-18
Hi Muhammad,
There are a couple of things:
- can you share the MATLAB code and the errors?
- Are you using MATLAB Coder? (are you going throught the step by step tutorial?)
- which release are you using?
All of the above are important for us to help as:
- MATLAB coder extends its capabilities every release (more and more functions just work)
- the tutorial is a good way to get started, *typically people start with simple functions and multiply 2 matrixes and get the workflow then add complexity from MATLAB code
- There are certain MATLAB functions that are not supported an you need to investigate how to get around them (e.g. try catch are not supported, but if you remove them then it can work under certain cases
BTW there is a very nice video on taking MATLAB Code and putting it on Android devices that could help you get started.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Setup and Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!