Technical discussion about Matlab and issues related to Digital Signal Processing.
Hi, If you want only to pass some variables to from .m-file simulink then you can use assignin or set_param commands to pass and evalin to evaluate them. i hope it helps you.. If u want to pass m file data in different way pls mention it clearly... Regards, Ashwini Hi guys, > >I am currently working on simulink and I encountered problem importing a source code (which is in ".m" format) into simulink. I've tried using the "from file" icon (under the "source" toolbox)but it only supports ".mat" format. Could anyone give me advise on importing .m file into simulink? Thanks! Your help is appreciated. > >regards, >qiang