How to create simulink model using existing m-file

Hi,
I have all matlab files for my system. Now i want to create a simulink model using that existing matlab files. How can i do this?
I tried using Matlab function. in that function i define
x = audioread('test\test2.wav');
it gives error.
Thankyou

Answers (0)

This question is closed.

Asked:

on 24 Oct 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!