New to arduino need help for include own library

I generated a zip file from Simulink by package code and artifacts. However, I couldn't include the library. I get this error. " error13 internal: library install failed: archive is not valid: multiple files found in zip file top level ".

I don’t understand why you are trying to make a library file .
Are you sure that is what you want to do or you just want to ( somehow) create code you can use with Arduino from simulink ?
There may be confusion as to what simulink calls a library and what Arduino calls a library.

Look here

Welcome to the forum

I am sorry to have to ask this, but do you understand what a library is ?

What are the names of the files in the zip ?

I created a code. It has some problems like #include "rtw_continuous.h". After I researched, I found that if you have that kind of problem, you can use package code and artifact. It contains all paths you need. So I use this, but again I get an error.

I couldn't upload it here because I am new. I upload it here. Download files - Filemail.

We need more info

What is "artifact" ?

To post images etc. you need trust level 1, you can get there by:

  • Entering at least 5 topics
  • Reading at least 30 posts
  • Spend a total of 10 minutes reading posts

Users at trust level 1 can...

  • Use all core Discourse functions; all new user restrictions are removed
  • Send PMs
  • Upload images and attachments

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.