How do I call Simulink from Within Matlab then go back to the M-file software?
Alright, I need to call a Simulink file from an M file as though it were a subroutine. How do I call the Simulink file from within an M-file then return control to the M-file? Again, I would like to use the Simulink file like a subroutine. Can I do that? We’ll say the Simulink file that I want to use is called PlaneCalcs and I don’t know what the extension on that should be, which should give you some idea of how much of a newbie I am.
Can you also provide me with how I would transfer data to the Simulink file (call it "PlaneCalcs") then load that data into an input that would then feed an integrator. I’ve been told that I can use a multiplexer to supply the input to the Simulink integrator.
Please keep your response as basic as possible. Too much data will overload my mind and make your answer useless. I have NO SIMULINK background, so please don’t tell me to use fancy function names. I’ll probably need to multiply the inputs by a matrix. Again, can you tell me what to use to do this multiplication?
Also, how do I write a Simulink file and name it PlaneCalcs, so I can access it via the M-file?Alright, I need to call a Simulink file from an M file as though it were a subroutine. How do I call the Simulink file from within an M-file then return control to the M-file? Again, I would like to use the Simulink file like a subroutine. Can I do that? We’ll say the Simulink file that I want to use is called PlaneCalcs and I don’t know what the extension on that should be, which should give you some idea of how much of a newbie I am.
Can you also provide me with how I would transfer data to the Simulink file (call it "PlaneCalcs") then load that data into an input that would then feed an integrator. I’ve been told that I can use a multiplexer to supply the input to the Simulink integrator.
Please keep your response as basic as possible. Too much data will overload my mind and make your answer useless. I have NO SIMULINK background, so please don’t tell me to use fancy function names. I’ll probably need to multiply the inputs by a matrix. Again, can you tell me what to use to do this multiplication?
Also, how do I write a Simulink file and name it PlaneCalcs, so I can access it via the M-file? Alright, I need to call a Simulink file from an M file as though it were a subroutine. How do I call the Simulink file from within an M-file then return control to the M-file? Again, I would like to use the Simulink file like a subroutine. Can I do that? We’ll say the Simulink file that I want to use is called PlaneCalcs and I don’t know what the extension on that should be, which should give you some idea of how much of a newbie I am.
Can you also provide me with how I would transfer data to the Simulink file (call it "PlaneCalcs") then load that data into an input that would then feed an integrator. I’ve been told that I can use a multiplexer to supply the input to the Simulink integrator.
Please keep your response as basic as possible. Too much data will overload my mind and make your answer useless. I have NO SIMULINK background, so please don’t tell me to use fancy function names. I’ll probably need to multiply the inputs by a matrix. Again, can you tell me what to use to do this multiplication?
Also, how do I write a Simulink file and name it PlaneCalcs, so I can access it via the M-file? matlab m-file simulink joined MATLAB Answers — New Questions