Preface: I always want to learn FLUX 2 SIMULINK Cosimulation tutorial in my spare time, but I always encounter various problems after trying many times with examples and suggestions from you. This version also lists them. The official tutorials, FAQs and explanations from seniors are not very detailed, and cannot explain all the problems clearly. After many attempts, I finally summarized some experience and wrote it here for your reference. =================================================================== Installation environment: 64-bit WIN7 operating system x64 FLUX11.1.1 x64 Matlab 2011a (The two software versions must be consistent, and the years should not be too different to avoid incompatibility. 2013a is not acceptable. In addition, the software bit number must be consistent x64/x86) ===============================================================================
At this point you can see FLUX in the simulink function menu list bar
2. FLUX > OPTION > MATLAB Select the directory of the MATLAB software you installed. Note: The directory of the new version of MATLAB shall be based on the directory named by the year.
3. Set the physical quantity that interacts with simulink and express it in the form of variables
3.1 The physical quantity of Flux is controlled by simulink, and the variable type is Parameter for multiphysical application 3.2 Physical quantities output from FLUX to Simulink, the variable type is Parameter defined by a formula