Use "Fixed step" in a block diagram, which contains continuous states
이전 댓글 표시
I am working with MATLAB 2015a and Simulink 8.5. Furthermore I use the construction stones from B&R ("B&R Automation Studio Target for Simulink 4.5"). For them I need the "FixedStepDiscrete".
Since I am working with a block diagram, which contains continuous states (SimMechanics 2nd generation), I get the following error if I try to build my model: "The "FixedStepDiscrete" solver cannot be used to simulate block diagram ---- because it contains continuous states". On the other hand If I change the Model Configuration Parameters from the type "Fixed-step" to "Variable-step" I get this message: "The specified code generator target for model ---- cannot be used with a variable-step solver. You must either configure the solver options for a fixed-step solver with an appropriate integration algorithm, or select a target that supports a variable-step solver, such as rsim.tlc. Click Open to launch the configuration dialog. Modify either the solver options on the Solver page or the system target file on the Code Generation page."
Unfortunately I need both - the B&R construction stones as well as the blocks which contains continuous states. If anyone has a solution or a suggestion for this problem please let me know.
I would be thankful for any help I can get!
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Configure Simulation Conditions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!