The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Fit with convolution code not compiling

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
HAYAO Posted - 11/16/2017 : 12:27:18 AM
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.

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000