MATLAB Answers

xlsread equivalent command for Matlab Coder

12 ビュー (過去 30 日間)
Ahmet Soner Erikli
Ahmet Soner Erikli 2020 年 4 月 20 日
回答済み: Darshan Ramakant Bhat 2020 年 4 月 21 日
I need to convert my fully working function to C Code by using Matlab Coder. But unfortunately Matlab Coder can not convert the xlsread or readcell commands and because I need to upload an .xlsx file with scripts and numbers in it to matlab,therefore I need to deal with this process without using such commands. Any ideas?

  0 件のコメント


回答 (1 件)

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2020 年 4 月 21 日
Below is the list of functions supported for C/C++ codegeneration :
Unfortunately "xlsread" is not supportef for codegeneration. You can explore "fileread" function to read the data from the text file.

  0 件のコメント



Community Treasure Hunt

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

Start Hunting!

Translated by