Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Embedded Matlab interface error : error calling MATLAB function 'sf'

Subject: Embedded Matlab interface error : error calling MATLAB function 'sf'

From: SAAD SARDAR

Date: 17 Dec, 2013 06:19:06

Message: 1 of 2

Hi,
I am using MATLAB 7.6 on a 64-bit machine.
I am trying to run a mathematical model containing various user defined embedded matlab function that was previously 'built and run' using same matlab version but on a 32-bit machine.
I am getting this error on my current machine setup "Embedded Matlab interface error : error calling MATLAB function 'sf'".
I have already visited many matlab central pages yet I am unable to find a solution to this specific problem.
N.B:
I tried to configure a c compiler through mbuilder -seup on caommand line but it seems that there are no compilers on my new machine, Can this be a reason for my problem?

Subject: Embedded Matlab interface error : error calling MATLAB function 'sf'

From: Phil Goddard

Date: 17 Dec, 2013 20:23:16

Message: 2 of 2

> Can this be a reason for my problem?

MATLAB on Win32 ships with a compiler.
MATLAB on Win64 does not.

You need to install one of the supported compilers (http://www.mathworks.com/support/compilers/R2012a/win64.html) for the MATLAB Function block to work.

Phil

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us