How to convert string data to double data in Matlab Function Block ?
3 次查看(过去 30 天)
显示 更早的评论
Hi, I'm trying to convert a char variable to double in Matlab Function Block, but it was failed. I tried everything such as coder.extrinsic, eml extrinsic ('str2double' or 'sscanf'), I wrote my c soruce code and I used it with coder.ceval. But I was not succeed. Please help me about this subject.
0 个评论
回答(1 个)
Akshat Dalal
2025-3-2
Hi,
You can refer the following MATLAB Answer which also discusses the same topic: https://www.mathworks.com/matlabcentral/answers/305159-how-to-convert-char-into-double
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!