Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Mathlink parameter type problem' topicStudent Support Forum > General > Archives > "Mathlink parameter type problem"

Next Comment >Help | Reply To Topic
Author Comment/Response
Batox
06/15/12 05:41am

I have an external C function:
float SATT (float, float*, int, int)
I import this function via Mathlink. In Mathematica, I can write
SATT[1.0,{.1,.2},1,1]
and the call works fine and yields a result.
When I write
SATT[1,{.1,.2},1,1]
the external function is not called. How can I (implicitly or explicitly) convert the first integer to a float in Mathematica?

URL: ,

Subject (listing for 'Mathlink parameter type problem')
Author Date Posted
Mathlink parameter type problem Batox 06/15/12 05:41am
Re: Mathlink parameter type problem Michael 06/25/12 09:16am
Next Comment >Help | Reply To Topic