Problem is solved.
Now I use this command:
system('prism test.sm -mdp -noprobchecks -exporttrans poll2.tra')
and I moved test.sm file to the current folder of Matlab and it works now.
Although I prefered to use other folder path.
Anyway, its solved!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!