priseborough / InertialNav

Inertial Navigation Filter
BSD 3-Clause "New" or "Revised" License
619 stars 401 forks source link

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

Open shening opened 9 years ago

shening commented 9 years ago

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 commented 8 years ago

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

zhjgod commented 8 years ago

I have the same problem. Who can help?

rafaelmendy commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

@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 commented 7 years ago

@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 commented 7 years ago

@rafaelmendy Thank you .The problem is solved