Error msg- Warning

조회 수: 1 (최근 30일)
alexis
alexis 2012년 2월 24일
Hi eveyone,
I have create using surface fitting tool a sfit object.
In my main code i load it and it works perfectly.
I convert my m-file to standalone mode. After deployment, and when i run the .exe file i have this message:
Waring: Variable 'k1_fittedmodel'originally saved as a sfit cannot be instantiated as an object and will be read in a unit32.
Subscript indices must either be real positive integers or logicals
Can you help me please?
  댓글 수: 1
Jan
Jan 2012년 2월 24일
Is it possible to find out, which command causes this message?

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2012년 2월 24일
The class definition for sfit has to be included in the executable.
You might need to use the %#function pragma

카테고리

Help CenterFile Exchange에서 Fit Postprocessing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by