Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavFilterTestHarness24': Undefined function or variable 'startTime' #16

Open
shening opened this issue Jul 2, 2015 · 8 comments
Open

Comments

@shening
Copy link

shening commented Jul 2, 2015

Hi
I am getting the error below when trying to run NavFilterTestHarness24.mdl in Matlab 2015a. I have followed the steps in the readme. Any clue why its happening ?

Thank you

Error evaluating expression 'startTime' for 'StartTime' specified in the Configuration Parameters dialog for block diagram 'NavFilterTestHarness24': Undefined function or variable 'startTime'

@adipandas
Copy link

I am having the same problem as shening. Can anyone help.?
Thanks.

@zhjgod
Copy link

zhjgod commented Jun 30, 2016

I have the same problem. Who can help?

@rafaelmendy
Copy link

rafaelmendy commented Jan 6, 2017

after changing your current directory to models. run this script in matlab
addpath('../scripts/','../TestData')
after that, type in matlab script RunNavFilterTestHarness24.m
avoid running RunNavFilterTestHarness24.mdl directly.

@esridhar159
Copy link

I am also facing the same problem as( Undefined function or variable 'startTime'.) I am totally confused about this error. Please someone help me to solve this error.

@rafaelmendy
Copy link

rafaelmendy commented Feb 2, 2017

@esridhar159
I think if you do the procedure that i mentioned in the above comment. this problem will be solved.

  1. change your directory to models. ( as mentioned in the readme)
  2. runaddpath('../scripts/','../TestData')
  3. run RunNavFilterTestHarness24.m (not RunNavFilterTestHarness24.mdl)

@snn-Lenovo-G405s
Copy link

@rafaelmendy why did I follow you,there was error ,like this
Error using load
Unable to read file 'simtest20.mat': no such file or directory.
I don't know where is simtest20.mat.

@rafaelmendy
Copy link

@snn-Lenovo-G405s
Hi
You are right. there is no such file "simtest20.mat"
So, you must use other test data that exist in the "TestData" folder.
open LoadNavFilterTestData.m and comment "load('simtest20.mat')" and uncomment another one.
for example:
load('TestLog1.mat')
%load('TestLog2.mat')
%load('TestLog3.mat')
%load('simtest20.mat')

@snn-Lenovo-G405s
Copy link

@rafaelmendy Thank you .The problem is solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants