Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load and Save in Embedded Matlab Function

Status
Not open for further replies.

agaz1985

Computer
Jun 21, 2007
3
IT
I need to invoke Matlab functions "load" and "save" in an embedded Matlab function, I try this code :

eml.extrinsic('load');
eml.extrinsic('save');

load('initial.mat','pos');
.
..
...code...
..
.
save('initial.mat','pos');

but it doesn't work ! Any suggest ? Thanks.
 
Replies continue below

Recommended for you

Hi,

I am not sure about what you are trying to do. But ,as I figured it out, you embedded this matlab code in a simulink media and trying to load or save some data. You can try the options of "from workspace" and "to workspace" available in simulink. You can connect those to the ports of embedded code b
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top