Problem with ssc_build to compile simscape blocks "folder is empty"

Hi,
When I try to create a custom simscape block with the command "ssc_build" I get this error message
"Warning: Not generating Simulink library 'MyLib_lib' as the MATLAB package 'MyLib' is empty and does not contain any MATLAB files (.m) or Simscape model files (.ssc). "
Of course there is my file in this folder. What is the problem?
Thank you, Léo

回答 (1 件)

paul Shen
paul Shen 2016 年 11 月 4 日

0 投票

I'm having the same issue now. Did the OP or anyone solve it? Thanks!

3 件のコメント

Léo
Léo 2016 年 11 月 6 日
I solved the problem 2 years ago. I think it was a problem of extension. Are you sure that the extension of you file is ".ssc" and not ".m.ssc" or ".txt.ssc"?
paul Shen
paul Shen 2016 年 11 月 6 日
Thanks Leo, but my extensions are correct.
paul Shen
paul Shen 2016 年 11 月 10 日
Updated, solved issue. I saved the package to another folder. Might have to do with folder permissions on my server...

サインインしてコメントする。

カテゴリ

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

製品

質問済み:

2014 年 10 月 4 日

コメント済み:

2016 年 11 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by