packing function for the file exchange

조회 수: 1 (최근 30일)
Nicolas Douillet
Nicolas Douillet 2019년 9월 22일
편집: Stephen23 2019년 9월 22일
Hi,
I updated a function of mine I created for the file exchange : Any 3D rotation
The main function -rotate_3D- is well included in the package when I unzip it, but it does not appear in the functions tab as you can see.
Any idea where it could come from ? Do I miss some publishing things ?
Thanks.
Nicolas

채택된 답변

Stephen23
Stephen23 2019년 9월 22일
편집: Stephen23 2019년 9월 22일
The problem is a bit obscure, but it is caused by the fact that you have HTML documentation with the same name as your main function. FEX assumes that the HTML documentation has the same name as its generating script/function, and does not show that script/function.
Change the name of your HTML documentation so that it does NOT match your main function name, and your main function will then be listed and shown by FEX.
I learned this by trial-and-error, it does not seem to be documented anywhere. I always name my HTML scripts something like
nameoffunction_doc.m
% ^^^^ add something like this!
and then the nameoffunction file will be displayed correctly... and the HTML too!
  댓글 수: 1
Nicolas Douillet
Nicolas Douillet 2019년 9월 22일
Thanks a lot Stephen, this was indeed the problem.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by