How to make a new Simscape model in ".ssc" File.
24 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yuji Ito
el 9 de Oct. de 2017
Respondida: KostasK
el 20 de Oct. de 2019
I want to customize three phase pmsm model.
Especially, I want to change Stator dq-axis Inductance,Ld,Lq from fixed value to Table Data.
I tried to make this Simulink model to change Permanent Magnet Synchronous Motor Model offered Mathworks inc. to My customized model, but I could only save ".ssc" file and I couldn't make new Simscape Simulink model.
Please teach me how to make a new Simulink Model from ".ssc" file.
1 comentario
Walter Roberson
el 9 de Oct. de 2017
Simscape ssc files are described at https://www.mathworks.com/help/physmod/simscape/lang/about-simscape-files.html
Respuesta aceptada
KostasK
el 20 de Oct. de 2019
Well.. I was running into the exact same problem as @Yji Ito and @Chris Matthews run into. After experimenting I managed to get the following:
- Create a foler with its name being +MyPackage. This folder has to be in a matlab filepath.
- Create a blank text file (using windows's notebook or anything similar)
- Change the extension of the text file to .ssc
- Now the icon of the text file has changed and once you click on it, it opens in matlab. So you can use the editor to write code.
- To use my component in the simulation I used a Simscape Component block.
I found that the above worked for me.
0 comentarios
Más respuestas (2)
Chris Matthews
el 14 de En. de 2019
Hopefully OP solved their issue by this time, but I came across this through google with the same question.
I still don't know if there's any single button to click to create a new (empty) .ssc file, but I was able to make one by simply creating a new script, clicking "Save As", and manually changing the extension to .ssc
0 comentarios
Ver también
Categorías
Más información sobre Simscape en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!