Undefined function or variable 'cell2str'.
Ältere Kommentare anzeigen
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
Antworten (1)
Cris LaPierre
am 13 Okt. 2021
0 Stimmen
3 Kommentare
Ioannis Vourvachakis
am 13 Okt. 2021
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'})));
Ioannis Vourvachakis
am 13 Okt. 2021
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!