Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Import 3 values from a text file to matlab code

1 vue (au cours des 30 derniers jours)
Dennis_Pana
Dennis_Pana le 14 Fév 2017
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have the following text file with name 'Inputs'
points = 9
dimensions = 3
numberofgroups = 1
How can we import these 3 values to a matlab code as following,
a=points or 9
b=dimensions or 3
c=numberofgroups or 1
I have red about dlmread but i cannot figure it out. Thank you all for your help and time.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by