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

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.

Categories

Products

Asked:

on 4 Apr 2016

Answered:

on 2 Mar 2025

Community Treasure Hunt

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

Start Hunting!