Origin Ver. and Service Release (Select Help-->About Origin): Originpro 2016 (64-bit)
Operating System: Windows 10 (64-bit)
I am trying to fit an data with exponential decay with convolution of IRF.
I saw this page:
https://www.originlab.com/doc/Tutorials/Fitting-Convolution
which provides the code for the function to do this. Unfortunately, when I try to edit the code and compile, I get the following error:
Done!
compiling...
_nlfConvDecay1.fit
C:\Users\ABCD\AppData\Local\OriginLab\94\TMP\OriginC\NLSF\_nlfConvDecay1.fit(42) :Error, Member's access requires struct/class type.
C:\Users\ABCD\AppData\Local\OriginLab\94\TMP\OriginC\NLSF\_nlfConvDecay1.fit(42) :Error, error(s) found in compiling method
C:\Users\ABCD\AppData\Local\OriginLab\94\TMP\OriginC\NLSF\_nlfConvDecay1.fit(42) :Error, general compile error
C:\Users\ABCD\AppData\Local\OriginLab\94\TMP\OriginC\NLSF\_nlfConvDecay1.fit(29) :Error, error(s) found in compiling function _nlsfConvDecay1
Compile Failed!
What is wrong with the code?
EDIT: I am so sorry, I found out the problem myself and it was my fault.