Jump to content

Search the Community

Showing results for tags 'matlab'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Altair Support Forum
    • Welcome to Altair Support Forum
    • Installation , Licensing and Altair One
    • Modeling & Visualisation
    • Solvers & Optimization
    • Multi Body Simulation
    • Conceptual design and Industrial design
    • Model-Based Development
    • Manufacturing Simulation
    • CAE Process Automation
  • Academic Partner Alliance Forum
    • APA - Composites
    • APA - CFD & Thermal
    • APA - Vehicle Dynamics
    • APA - Manufacturing
    • APA - Crash and Safety
    • APA - Noise, Vibration and Harshness
    • APA - System Level Design
    • APA - Structural and Fatigue
    • APA - Marine
    • APA - Optical Design
  • Japanユーザーフォーラム
    • ユーザーフォーラムへようこそ
    • Altair製品の意外な活用例
    • インストール / ライセンス / Altair One / その他
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • CAE プロセスの自動化
    • エンタープライズソリューション
    • データアナリティクス
    • 学生向け無償版(Altair Student Edition)


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 16 results

  1. Please, help me: I want to optimize a model. I am using Matlab for the optimization, Hypermesh as a pre-processor for my model and Abaqus as my FEA solver. I want to control all the operations in Matlab. I don't want to open Hypermesh and Abaqus. I have found a way around Abaqus. But I am having a challenge with Hypermesh. Directly from Matlab command, I want to call Hypermesh to execute my TCL script and output Abaqus input file. I want to run this process for many iterations by changing my mesh size in TCL script, thereby generating Abaqus input files of different mesh sizes. This is my Matlab script for Hypermesh: clear all; clc; hypermesh_bin='C:\Program Files\Altair\2017\hm\bin\win64\'; %enter the directory for the hypermesh executible cd(hypermesh_bin); run Hypermesh dos ('C:\Program Files\Altair\2017\hm\bin\win64\hmopengl.exe&') % run .tcl file (the name of my tcl file is comm) dos_command = ['hmbatch-tcl' , 'C:\Program Files\Altair\2017\hm\bin\win64\comm.tcl']; dos (dos_command) I am getting this error: ans = 0 The filename, directory name, or volume label syntax is incorrect. ans = 1 Please, help me: kindly tell me what I am doing wrong. Also, in order for us to have more discussion, I will appreciate it if you can send me an email, if you have worked with hypermesh directly from Matlab or you know how to do it. My email address is: sasamuelayinde@gmail.com Thank you.
  2. Submitted by shaabanyusuf on Fri, 07/20/2012 - 16:28 Hi, I have just installed VisSim. I have tried to run simulations with MATLAB interface but it keeps giving me the error 'Simulation aboted at 0 simulated seconds 21 real seconds'. I tried to run the examples in VisSim but without success. Thank you
  3. Hi, I am an absolute beginner in HyperMesh and the CAD/CAE world. I don't know how I can import my image segmentation contours in matlab to Hypermesh in order to create a 3D mesh. It seems I can only import binary files if they are in HyperMesh .hm format?? I'd appreciate any help here.
  4. Hello everyone, How can I open Matlab Simulink via Flux supervisor?
  5. For more information, see www.altair.com/mbd2019 and www.altair.com/mbd2019/compose. To download a free 1-year license of this software, go to https://basicportal.altair.com/downloads. Do you want to do technical calculations, scripting, data visualization or data processing (especially involving CAE or test data)? If yes, then whether you are involved in academia or industry or are just a hobbyist/maker looking for cool & useful software, this no-cost Personal Edition software could help you achieve your goals. The multi-language environment of Compose enables the combined use of scripts written with its open matrix language (OML) with scripts written in Tcl/Tk or Python. And OML is compatible and inter-operable with Octave and MATLAB®. Altair has also expanded its support of open standards by open-sourcing its open matrix language (OML). Interested users and contributors can download source code from the OpenMatrix website and actively participate in this burgeoning R&D community. Give Altair Compose™ and OML a try today!
  6. Hello I just want to know, is there any way that i can link Matlab and Optistruc together.For example i can applied NSGA 2 optimization method(which i had wrote it in matlab) to my model in hypermesh or optistruc? Please help me on this,Thank you
  7. Hello guys, I found some commands on FEKO User Guide to run PREFEKO, make mesh ans run FEKO solver. The commands are (cadfeko_batch; runfeko) and I can run them from DOS (prompt command window on Windows). These commands are interesting because I do not have to open FEKO GUI (Graphical user interface) to make mesh and run the solver, and I can call them from MATLAB. But I am having problems to export from the simulation only Data I want without open POSTFEKO GUI, for example : Transmission and Reflection coefficients and range of frequencies. Does someone have a clue? If I open POSTFEKO and load the simulated file I can export the information as (*.tr) extension, a file with what I want, but I cannot find any information on how to call this kind of "exporting flag" on command line... I do not want to open GUI at all. The image below has one option [--data-export-format n], but on the function description do not have any information about extension (*.tr) Does anyone have an example of a FEKO problem when FEKO did not have GUI? Or some examples of all DOS commands to manipulate FEKO? Thank you in advance. Best Regards, Nikolas Nascimento Aguilar
  8. Hello, I am trying to run optistruct from the command line in MATLAB. I have been able to run it using the line; system('"C:\Program Files\Altair\2017\hwsolvers\common\tcl\tcl8.5.9\win64\bin\wish85t_os.exe" "C:\Program Files\Altair\2017\hwsolvers\scripts\hwsolver.tcl" -solver OS -icon "C:\Users\e-tru\Documents\beam_maker_altair_44.fem"') But I also want to be able to output the element densities and .sh file after an optimization and have been unable to do so. I have tried invoking optistuct.bat to see if that would help me and used the line; system('"C:\\Program Files\\Altair\\2017\\hwsolvers\\scripts\\optistruct.bat" "C:\Users\e-tru\Documents\beam_maker_altair_44.fem"') Unfortunately it did not work and the following error was generated; ERROR in hwsolver script execution: couldn't write file "beam_maker_altair_44.err_39816.out": permission denied *************************************** What does this mean? How can the .sh file and densities .dens file be generated by calling the optistruct in the command prompt (in MATLAB)? My operating system is Windows 10, Hypermesh version 2017 and MATLAB R2017b. Thank you, -Eric
  9. Hello, Thank you in advance for reading this and for your help. I am currently working on a project where I create a geometry and eventually mesh this geometry in HyperMesh. The key here is, that I use Matlab to generate my TCL/HM code (since the working force here is more aquainted with Matlab than with the TCL code. This code uses certain input parameters and generate information that can be translated to HyperMesh. Now I am at the point where the whole geometry creation using HM/TCL goes perfectly fine, even after some setbacks where I had to cleverly write the program due to the lack of control on the node, line and surface numbering. I'm stuck at the point where I create holes in my geometry, where certain other parts can connect to. The geometry consists of several suppressed edges. These edges do not influence the shape of the geometry, like edges that will change the angle of the geometry will; these suppressed edges just lie in the same plane but are used to create the geometry. The surfaces are all numbered in the sequence of generation, so the first generated surface has ID 1, second has ID 2, etc. I create holes by creating a node at the location where the hole centre should be, create a circle with a given radius around it, trim the existing surface with the line and eventually deleting this circular surface, creating a hole. Note again, this is all done by programming, not by using the GUI. Whenever these circles, hence the trimming, do not intersect with a suppressed edge, everything goes fine. It creates a nice hole in my surface, which has that certain ID. Whenever said circle intersects with a suppressed edge, things go wrong. Say there is a piece of the circle that crosses that suppressed edge. What I would want, is that the surface created by trimming would simply get the newest maximum surface ID. What happens instead, is that the surface gets the ID of the one it is partly intersecting. You must understand, that from a programming point of view, this gives me no control whatsoever of the surface IDs that come after, hence my program fails there. Now, I have thought of ideas on how to counter this problem. For example, I could create a component for every generated surface, and assign it a name, giving me control of the names and not having to look at the IDs of the surfaces anymore. This is not such elegant solution. Instead, I'd like to use different means to solve the problem, for example, by using the ID of the last created surface, rather than the max surface ID. My question to you is, what would you do to solve this problem? Would you go for the component solution? Are there query commands that I haven't looked at? Are there macros to solve this problem? Any help is appreciated. I've added some screenshots that hopefully clarify my situation. Thank you for any help that is supplied! Jeffrey This will yield no problems, there is no intersection: This will yield problems, as there is an intersection: Note that in both cases, these edges are suppressed!
  10. I have given Hyperworks 17.0 student edition. When i try to open Matlab from Flux Main window Matlab Button is not arriving and also when i tried to set the Matlab path in the coupling software no file is showing (Matalb.exe file). How i can i open Matlab from Flux to do the cosimulation? In the attached figure when i am giving path in the Coupled software section no files is showing also after selecting the All files option. In the other when i was trying to run matlab there it is showing like this. Is there anyone who can solve this problem?
  11. Hi, I have a set of points in matlab that form the surface of a bladder and I want to import it to Hypermesh to mesh it. I export it from matlab as a IGES file, but when I imoprt in Hypermesh it does not show anything. I have tried importing a simple nurbs surface in IGES format into Hypermesh and it recognizes it. Do I have to make the points a Nurbs surface in order to import it to Hypermesh. I know I can use a CAD software, like SolidWorks, to make a geometry from the points but it is too expensive. Any help is greatly appreciated. Roja
  12. Submitted by Joe on Fri, 10/04/2013 - 02:18 I was hoping to read and write variables from the Matlab workspace. Can I do it? If so, how?
  13. Is there any way to call a Hypermesh model from MATLAB? Is there any interface for them. I need to use my FEA model which is a Hypermesh model in an Optimization MATLAB code. How I can recall it in MATLAB? Thanks,
  14. Hi, This is my first steps at this platform. How can I import a simulink model (from mathworks vendor) for use at activate? The extension is 'slx'. I didn`t find any tutorial about it. regards,
  15. Hello all, I have a .dll library linked to a DRESP3 card in Optistruct. It works fine, except if I call the MATLAB engine. The relevant code is the following, related to the MATLAB engine API: Engine *ep; if(!(ep = engOpen(NULL))) { } engClose(ep); If I comment out the lines containing engOpen and engClose, the .dll works fine. If I uncomment them, Optistruct generates the following error: *** ERROR # 6400 *** The following (Path Removed).dll external library could not be loaded: (null) Please verify that the library path, name and extension are correct. Also check that the library was compiled and linked with appropriate. flags on the appropriate platform. See OptiStruct's user guide for. more information about building and using external libraries. I'm at a loss to what causes the error. If I comment out the mentioned lines, the .dll works (i.e. generates .txt files as output), so I don't think it's a compilation or linking issue. The only thing I could think of is that the MATLAB functions are mixed caps/non-caps. If this is indeed the issue, are there any suggestions for workarounds? Kind regards, Matthijs
  16. Hi guys, I'm having some problems with the discrete Transfer Function block. I'm trying to recreate the TF behavior I'm getting from Matlab, but I'm nowhere near. I have tried using both the Polynomial and the Poles and Zeros option to enter the values, but the output remains the same. z^4 - 3.753 z^3 + 5.272 z^2 - 3.286 z + 0.7666 / 4.421e-07 z^4 - 4.333e-07 z^3 I've attached my Embed file, that contains the Reference and the TF blocks. I've also included a couple of screenshots from Matlab that show the behavior I'd like to obtain from Embed. I've made sure that Embed and Matlab have the same Time Step, which you'll be able to see from the reference input (it's the same on both softwares). I don't know what else to do, I really hope you can help me out. Bezier_test.vsm
  • Create New...