convert arraycell in array string
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
>> class(risulRankingResult)
ans =
'cell'
it's possibile to convert in string?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1432158/image.png)
1 commentaire
Réponse acceptée
Stephen23
le 11 Juil 2023
"it's possibile to convert in string?"
Probably. I am guessing that you want something like this:
C = {1;[2,34];[56,7,89]}
F = @(v)join(string(v),',');
S = cellfun(F,C)
6 commentaires
Stephen23
le 12 Juil 2023
"i want to use Sis.Rank_DisplayIdxSis (in a structure) now i must to convert it in arraycell..."
I presume by "arraycell" you actually mean a cell array.
It is unclear to me what you want to convert and what the problem is.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Type Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!