Undefined function or variable 'cell2str'.
6 ビュー (過去 30 日間)
古いコメントを表示
I ran a function, but an error appeared in the following line:
fprintf(cell2str(strcat({'Experimentally measued stoichs add up to '},num2str(expFracSum),{'\n'})));
with the message Undefined function or variable 'cell2str'.
If the problem is that 'cell2str' is inactive, how can i replace it to do my job?
Thank you
0 件のコメント
回答 (1 件)
Cris LaPierre
2021 年 10 月 13 日
3 件のコメント
Cris LaPierre
2021 年 10 月 13 日
You might also be able to just replace it with the MATLAB function string.
fprintf(string(strcat({'Experimentally measued stoichs add up to '},num2str(25.6),{'\n'})));
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!