help-octave
[
Top
][
All Lists
]
Advanced
[Date Prev][
Date Next
][Thread Prev][
Thread Next
][
Date Index
][
Thread Index
]
error: scalar cannot be indexed with .
From
:
Lester Anderson
Subject
:
error: scalar cannot be indexed with .
Date
:
Wed, 1 Sep 2021 12:14:50 +0100
Hello,
I am trying to run the attached code, but it fails at line 51
Input parameters:
>> obs(1) = struct('type','fixed','r',2,'phi',pi/4,'pulsePeriod',0.5,'n',400) ;
>> obs(2) = struct('type','free','r',1.5,'phi',pi/4,'pulsePeriod',0.5,'n',400) ;
>> run_Schwarzschild(obs,8,[0 2.5 0 2.5])
error: scalar cannot be indexed with .
error: called from
run_Schwarzschild at line 51 column 10
Not sure how to solve this?
Lester
run_Schwarzschild.m
Description:
Binary data
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
error: scalar cannot be indexed with .
,
Lester Anderson
<=
Re: error: scalar cannot be indexed with .
,
Etienne Grossmann
,
2021/09/01
Next by Date:
Re: error: scalar cannot be indexed with .
Next by thread:
Re: error: scalar cannot be indexed with .
Index(es):
Date
Thread