ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fminsearch

Hallo,

Der Versuch mein Programm "ITS_90_converter2(2,'S',1e-2,3e-5,4e-6)"  in Mathscript laufen zu lassen scheitert. Ich denke fminsearch findet die zu minimierende Funktion (myfun2) nicht, oder liegt der Fehler wo anders. Coefficients und Coefficients_invers2 liefern keine Probleme. Oftmals hängt sich die Software auch auf und muss neu gestartet werden!

 Eingabe Parameter wie oben, Matlab antwortet:

ans =

  273.9756

Für ein Tipp wäre ich sehr Dankbar! Ausserdem: lassen sich global's eleganter schreiben, als ich das getan habe?

Grüsse
0 Kudos
Message 1 of 4
(2,997 Views)
Hi tracetemp,

Could you first send us a .zip file, I can't open your 7z format file. Then I will be for sure more helpful.

Laurent P
Application Engineer
Switzerland
0 Kudos
Message 2 of 4
(2,975 Views)

Hi Laurent,

here it is. It is full of m files.Smiley Happy

Mike

0 Kudos
Message 3 of 4
(2,972 Views)
Hi Mike,

I could reproduce your error and made LabVIEW crashed...
In fact, in tools option, the last tab is for Matlabscript, so you have to add your path containing the m-files, otherwise LabVIEW can't find your functions. Then, you do have some programming errors in your m.files to correct before running the matscript node. (at least one)


I hope this helps,

Laurent Pollara
NI Switzerland
Message 4 of 4
(2,939 Views)