From: roberto camboni on 19 Jan 2010 10:55 Hi, i am new with Matlab. I have written an m-file that directly works with some Matlab workspace variables defined at model initialization through another m-file (launched via the InitFcn callback). The former file should be called (not at every step, but only in certain conditions) from the simulink model, and it is actually working perfectly if called from matlab command line. I tried to create an S-Function, but it seems not to recognize these workspace variables. Can anyone help me? Thanks Roberto
|
Pages: 1 Prev: Reading large file and sorting Next: how to use initmesh ? |