How to convert string data to double data in Matlab Function Block ?

3 Ansichten (letzte 30 Tage)
BATIKAN DEMIR
BATIKAN DEMIR am 4 Apr. 2016
Beantwortet: Akshat Dalal am 2 Mär. 2025
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.

Antworten (1)

Akshat Dalal
Akshat Dalal am 2 Mär. 2025
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

Kategorien

Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by