Error msg- Warning

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 日

0 投票

The class definition for sfit has to be included in the executable.
You might need to use the %#function pragma

カテゴリ

ヘルプ センター および File ExchangeFit Postprocessing についてさらに検索

質問済み:

2012 年 2 月 24 日

Community Treasure Hunt

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

Start Hunting!

Translated by