Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Import 3 values from a text file to matlab code

조회 수: 2 (최근 30일)
Dennis_Pana
Dennis_Pana 2017년 2월 14일
마감: MATLAB Answer Bot 2021년 8월 20일
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.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by