Filter löschen
Filter löschen

How to convert checkmonotonic in matlab c coder?

5 Ansichten (letzte 30 Tage)
MitulKumar
MitulKumar am 3 Dez. 2012
Hi every one,
I am trying to convert a Matlab code to c using a matlab coder. And my code uses checkmonotonic this function which internally call cell function . So when i try to convert it using a matlab coder and i am not able to do it.
So Please any one let me know how can i convert or use such function in my c standalone application .
Thank you sir
  1 Kommentar
Jan
Jan am 3 Dez. 2012
Please post exactly what you want to convert. And explain the details of "not able to do it" exhaustively. The less a reader must guess, the more likely is an answer.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Sean de Wolski
Sean de Wolski am 3 Dez. 2012
I've never heard of the checkmonotonic. I would check montonically increasing with:
all(diff(x)>=0);

Fred Smith
Fred Smith am 3 Dez. 2012
checkmonotonic does not appear to be a supported MathWorks function. Can you provide more details on what you are trying to do?
In general, you need to recode functions relying on cell arrays if you want to generate code from them.

Kategorien

Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by