Custom made Matlab funcions errors in Simulink

After many years working with Matlab I am now becoming more involved with Simulink.
My work with Simulink will be mainly about using my custom made Matlab programs that have been thoroughly tested in the Matlab environment.
Upon on including my programs (m files) as Simulink blocks I get an helluva lot of Simulink errors. For instance the diff matlab function seems to give trouble among others.
What should I car of when adding custom made Matlab m files (functions) as Simulink blocks?
Would you please point me out good books about the subject as well?
Many thanks in advance!

La pregunta está cerrada.

Productos

Etiquetas

Preguntada:

el 14 de Abr. de 2018

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by