How can i read Name-Value Pair Arguments in mex C function?

Hi,
I am writing a program that needs to use Name-Value pair variable passed as an argument. I am trying to figure out
  1. How to read this variable in my mex function's prhs array.
  2. How to access individual name-value pair.
I am new to matlab mex programming, so I am not sure where to look for information too. Kindly help...
Thank you,

1 comentario

James Tursa
James Tursa el 23 de Jul. de 2015
Editada: James Tursa el 23 de Jul. de 2015
Do you want to manually parse two inputs at a time to get the Name-Value pairs to use downstream in your code? And do you have default values for unspecified pair values?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Write C Functions Callable from MATLAB (MEX Files) en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 22 de Jul. de 2015

Editada:

el 23 de Jul. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by