Page 9 - Demo
P. 9


                                    Interface to Octave%uf09f %uf09f RCP Consult 2021-2025 Page 9After selection of this item a special template expressionDEFFUNC(?,OCTAVE,StrurelToOctave)(p1,p2){Octave Common Interface}=OctaveInterfacewill be inserted on caret position in Symbolic Expressions tab.A shortcut to do the same is to activate a specific popup menu by pressing the mouse wheelinside the Symbolic Expressions tabYou need only to define a DEFFUNC number instead symbol %u2018?%u2019, for example 1. Do not alter the fixed names OCTAVE, StrurelToOctave and OctaveInterface. If your symbolic expressions contain definition of at least one FLIM, after parsing the expression above will be transformed toDEFFUNC(1,OCTAVE,StrurelToOctave)(p1,p2){Octave Common Interface}=OctaveInterfaceTo use this DEFFUNC having two arguments (p1,p2) in symbolic expressions you have to call it by its keyword FUNC with specific values for (p1,p2). The first argument p1 is a text string and the second argument p2 defines a switch which can have only two values: 0 or 1. For case 0 the above text string is the name of an external script file without extension %u2019.m%u2019 written using rules as described in 6.For case 1 it is a direct expression written in Octave language, see 7.FLIM(21)=FUNC(1)(\andFLIM(22)=FUNC(1)(\Additionally, a special form for case 1 can be used. If the first character in the string of a function argument is the symbol %u2019%%u2019, the entire expression will be interpreted as a sequence 
                                
   3   4   5   6   7   8   9   10   11   12   13