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

James Tursa
James Tursa 2015년 7월 23일
편집: James Tursa 2015년 7월 23일
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?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

태그

질문:

2015년 7월 22일

편집:

2015년 7월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by