cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

struct and eval functions alternatives for mathscript

 

Is there an alternative for struct and eval functions to be used in mathscript?

 

0 kudos
Mensaje 1 de 4
3.711 Vistas

Hi Yazin,

 

What are you trying to achieve in your project? In what context are you using your functions and why are you trying to avoid using them? What problems are you running into when you are using these functions? Is there an error that comes up when you are using these functions? 

 

Thanks for letting me know! Your answers will help me in assisting you further with this issue. 

 

 

Mensaje 2 de 4
3.663 Vistas
I'm using I Matlab toolbox in LabVIEW which uses these functions, I want to embedd my LabVIEW code in myrio, so I need to convert the Matlab script to math script.
The struct function is not supported by LabVIEW and the eval caused some errors in the math script.
I hope you can help me...
0 kudos
Mensaje 3 de 4
3.654 Vistas

Hi Yazin, 

 

Eval functions are not supported by the myRIO sincce it uses the Real Time Engine. The following document highlights this:

 

http://zone.ni.com/reference/en-XX/help/373123C-01/lvtextmath/msfunc_eval/

 

Structs are supported in LabVIEW. The following document shows how mathscript creates structs: 

 

http://zone.ni.com/reference/en-XX/help/373123B-01/lvtextmathmain/using_ms_structs/

 

I executed the example on my LabVIEW, which did work. Why are you using the eval function? What is the purpose of the Mathscript in your code and what are you goals for your project? What are you trying to accomplish? 

 

 

0 kudos
Mensaje 4 de 4
3.620 Vistas