Data Type provided by MLPutMatrix

1 visualizzazione (ultimi 30 giorni)
Renato Staub
Renato Staub il 4 Lug 2019
Risposto: Kavya Vuriti il 17 Lug 2019
Through the command "Send data to Matlab" I send a number from an Excel sheet into the Matlab workspace. While this procedure works, I do not like the resulting data type. While I would like it to be of data type "double" it turns out to be "cell". How can I switch the resulting data type? Thanks, Renato.

Risposte (1)

Kavya Vuriti
Kavya Vuriti il 17 Lug 2019
Hi,
You can try sending data using import data icon in the home panel. The desired data to be imported can be selected and the output type can be set to numeric matrix. This sets your data type to double. Hope this solves your problem.

Categorie

Scopri di più su Data Import from MATLAB in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by