20 function [points , RO , KR , FH , mat , lager , lasten ] = models.beam.DynLinTimoshenkoModel.read_file(file) {
62 mat = read_in3(
" MAT ",12,file);
68 points = read_in3(
" KNO ",4,file);
69 points = points(:,2:4);
75 RO = read_in3(
" RO ",4,file);
80 KR = read_in3(
" KR ",5,file);
85 FH = read_in3(
" FH ",3,file);
90 lager = read_in3(
" DIR ",15,file);
95 lasten = read_in3(
" NEU ",8,file);
97 function output = read_in3(keyword,count,file)
109 str = fscanf(fid, " %s ", 1);
112 if (strcmp(str,"
# "))
113 str_temp = fscanf(fid,
" %s ", 1);
118 if (strcmp(str,keyword))
121 val = fscanf(fid,
" %g ", 1);
146 fprintf(" Read_in: \
t Anzahl: %g \
t Keyword: %s \n ",length(output)/count,keyword);
147 output = reshape(output,count,length(output)/count)^
t;
151 fprintf(" Keyword %s does not exist\n ",keyword);