01-15-2008 04:58 AM
01-23-2008 05:01 PM - edited 01-23-2008 05:02 PM
03-01-2008 07:57 AM
Dear all,
Maybe another workaround would be to call a user defined function from within the Mathscript node. The user defined function, would be a .m file that can be changed in execution time by the user.
Best regards
Miguel
03-03-2008 03:45 AM
03-03-2008 05:02 AM
Hello,
My approach is simply to have a mathscript node calling a function made by the programmer. That function is a ".m" file with the same name. If you change the ".m" file without changing its name, and I/O parameters, the functinality will change. I have to say that I have not tried it in a executable.
Example:
------------------------------
Mathscript node:
out=myfunction(in1, in2);
-----------------------------
myfunction.m file
function out=myfunction(in1,in2)
out=in1*in2; %this can be changed from one run to another with a text editor.
--------------------------
Best regards
Miguel
03-03-2008 10:38 AM
03-04-2008 04:45 AM
10-31-2008 04:22 PM
02-18-2009 05:49 PM
Hi All,
I am aware the with 8.2 you could not build an executable when a vi used a Mathscript node containing a call to a function in a .m file. More precisely, the actual build would complete, but there would be error(s) upon execution of the .exe.
I haven't been able to find any literature stating this issue has been fixed in 8.6, but I hoping. Is the above still the case in 8.6?
I discovered the problem when building the Riemann example to experiment with running it on various PCs as a .exe.
Thanks,
Mike MItchell
RF Micro Devices, Carlsbad02-20-2009 05:45 PM