필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

What is the GUI version for emlc(or emlmex) in linux 2009b version

조회 수: 1 (최근 30일)
R
R 2013년 6월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
I know newer versons of linux matlab have coder as GUI which seems not availabe in linux 2009b. So am I corrct on this, that, there is no GUI for emlc(or emlmex) in linux 2009b version ? Thanks.
  댓글 수: 2
Kaustubha Govind
Kaustubha Govind 2013년 6월 25일
My guess is that the Coder GUI was introduced in R2011a or R2011b, but I'll leave the question unanswered so someone with more knowledge can attempt it.
R
R 2013년 6월 25일
Thanks. The problem for me is with the linux matlab 2009b I am using, specifically with the emlc(or emlmex). Basically I want to create MEX functions from .m functions. I know I need to specifiy the class, size... etc for the inputs. For my case, I need to specify one input to be a column vector of variable size in double class. That is, this input vector can change in length and theoretically does not have an upper bound. In the GUI version I would just use :inf. But, how do I do that in command line ?

답변 (1개)

Fred Smith
Fred Smith 2013년 6월 25일
The GUI was introduced in R2011a.
  댓글 수: 2
R
R 2013년 6월 25일
Thanks. The problem for me is with the linux matlab 2009b I am using, specifically with the emlc(or emlmex). Basically I want to create MEX functions from .m functions. I know I need to specifiy the class, size... etc for the inputs. For my case, I need to specify one input to be a column vector of variable size in double class. That is, this input vector can change in length and theoretically does not have an upper bound. In the GUI version I would just use :inf. But, how do I do that in command line ?
Ryan Livingston
Ryan Livingston 2013년 6월 25일
Have a look at
doc emlcoder.egs
to specify arguments on the command line. You can do something like:
ex = emlcoder.egs(zeros(3,2), [1000, 1234], [1 1])
and pass that to emlc:
emlc foo.m -eg ex -report
to specify that the input of foo.m is a double matrix with dimensions
:1000-by-:1234
Unfortunately, I don't believe the ability to use unbounded variable sizing was available in R2009b.

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by